<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Eclipse + Maven + Android is a series
of long sighs best avoided. The idea with the Android project is
we declared the compile time dependencies for the application and
they SHOULD be dropped into your /libs folder after running `mvn
dependency:copy`. After that Eclipse SHOULD pick them up
correctly.<br>
<br>
The second half of this is making sure you download the Android
support library.<br>
<br>
Could you post the content of your libs directory?<br>
<br>
<br>
On 06/21/2013 06:10 AM, Matthias Wessendorf wrote:<br>
</div>
<blockquote
cite="mid:CAAg5f2Q49HL+exJW9OBUiuiQM3qXG=fcbwuThOCEO0jXVnde2g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I did a download of the latest Android SDK
(adt-bundle-mac-x86_64-20130522), and did follow our
instructions here:</div>
<div><a moz-do-not-send="true"
href="https://github.com/aerogear/aerogear-android/blob/push/README.md">https://github.com/aerogear/aerogear-android/blob/push/README.md</a></div>
<div><br>
</div>
<div>I did the maven-sdk-deployer etc, all good. the branch was
compiling with Maven. Great!</div>
<div><br>
</div>
<div><br>
</div>
<div style="">Now, with Eclipse, I did follow these
instructions:</div>
<div style="">
<a moz-do-not-send="true"
href="http://staging.aerogear.org/docs/guides/GetStartedAndroidEclipse/">http://staging.aerogear.org/docs/guides/GetStartedAndroidEclipse/</a><br>
</div>
<div style=""><br>
</div>
<div style="">But once I finished these steps, I am getting
compiler errors. For instance on the Pipeline.java, I am
getting these issues:</div>
<div style=""><br>
</div>
<div style=""><span class="">import</span> <span class="">android.app.Fragment</span>;<br>
<span class="">import</span> <span class="">android.support</span>.v4.app.FragmentActivity;<br>
<span class="">import</span> <span class="">com.google</span>.common.collect.HashMultimap;<br>
<span class="">import</span> <span class="">com.google</span>.common.collect.Multimap;</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">While I think that the android.** related import
issues are most likely related to the fact that this is
perhaps now wrong (2.3.3):</div>
<div style=""><a moz-do-not-send="true"
href="http://staging.aerogear.org/docs/guides/img/android_eclipse_import_005.png">http://staging.aerogear.org/docs/guides/img/android_eclipse_import_005.png</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div style="">
But the Google Collections are also not resolving. </div>
<div style=""><br>
</div>
<div style="">I guess the "Import" in Eclipse is not really
reflecting the description of the guava dependency in the
pom.xml file.</div>
<div style=""><br>
</div>
</div>
</blockquote>
<blockquote
cite="mid:CAAg5f2Q49HL+exJW9OBUiuiQM3qXG=fcbwuThOCEO0jXVnde2g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">Besides the google collections, I also noticed
that other classes (like "<span class="">com.google</span>.android.gms.gcm.GoogleCloudMessaging")
are not being resolved.</div>
<div style="">
<br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">Is there a way that all these "required"
dependencies are picked up automatically, by the Eclipse IDE?
Or do I have to import all dependencies, by hand ? </div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">Thanks!</div>
<div style="">Matthias</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style="">
<br>
</div>
<div style=""><br>
</div>
<div><br clear="all">
<div><br>
</div>
-- <br>
Matthias Wessendorf <br>
<br>
blog: <a moz-do-not-send="true"
href="http://matthiaswessendorf.wordpress.com/"
target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a moz-do-not-send="true"
href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a moz-do-not-send="true"
href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
</blockquote>
<br>
</body>
</html>