<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 4:16 PM, Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>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></div></div></blockquote><div><br></div><div style>ah... ok. the &quot;<span style="font-family:arial,sans-serif;font-size:13px">mvn dependency:copy&quot; is missing on the README (will file a JIRA/PR soon).</span></div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<div>
      <br>
      The second half of this is making sure you download the Android
      support library.<br></div></div></blockquote><div><br></div><div style>Ok, not really sure what you mean here </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div>
      <br>
      Could you post the content of your libs directory?</div></div></blockquote><div><br></div><div><br></div><div><div>pluto:aerogear-android matzew$ ls -la libs/</div><div>total 4104</div><div>drwxr-xr-x   5 matzew  staff      170 Jun 21 16:24 .</div>
<div>drwxr-xr-x  17 matzew  staff      578 Jun 21 16:24 ..</div><div>-rw-r--r--   1 matzew  staff    13662 Jun 21 16:24 gcm-client-3.jar</div><div>-rw-r--r--   1 matzew  staff   189285 Jun 21 16:24 gson-2.2.2.jar</div><div>
-rw-r--r--   1 matzew  staff  1891110 Jun 21 16:24 guava-13.0.1.jar</div></div><div><br></div><div><br></div><div><br></div><div style>now.... the google collection dependencies are resolved.</div><div style><br></div><div style>
Only that these are now continuing issues:<br></div><div style>







<p class=""><span class="">import</span> <span class="">android.app.Fragment</span>;<br><span class="">import</span> <span class="">android.support</span>.v4.app.FragmentActivity;</p></div><div style>as well as the &quot;<span class="">import</span> <span class="">com.google.android.gms</span>.gcm.GoogleCloudMessaging;&quot; (and some others)</div>








<div><br></div><div style>-Matthias</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div><div class="h5"><br>
      <br>
      <br>
      On 06/21/2013 06:10 AM, Matthias Wessendorf wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote 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 href="https://github.com/aerogear/aerogear-android/blob/push/README.md" target="_blank">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>Now, with Eclipse, I did follow these
          instructions:</div>
        <div>
          <a href="http://staging.aerogear.org/docs/guides/GetStartedAndroidEclipse/" target="_blank">http://staging.aerogear.org/docs/guides/GetStartedAndroidEclipse/</a><br>
        </div>
        <div><br>
        </div>
        <div>But once I finished these steps, I am getting
          compiler errors. For instance on the Pipeline.java, I am
          getting these issues:</div>
        <div><br>
        </div>
        <div><span>import</span> <span>android.app.Fragment</span>;<br>
          <span>import</span> <span>android.support</span>.v4.app.FragmentActivity;<br>
          <span>import</span> <span>com.google</span>.common.collect.HashMultimap;<br>
          <span>import</span> <span>com.google</span>.common.collect.Multimap;</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>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><a href="http://staging.aerogear.org/docs/guides/img/android_eclipse_import_005.png" target="_blank">http://staging.aerogear.org/docs/guides/img/android_eclipse_import_005.png</a><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          But the Google Collections are also not resolving. </div>
        <div><br>
        </div>
        <div>I guess the &quot;Import&quot; in Eclipse is not really
          reflecting the description of the guava dependency in the
          pom.xml file.</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>Besides the google collections, I also noticed
          that other classes (like &quot;<span>com.google</span>.android.gms.gcm.GoogleCloudMessaging&quot;)
          are not being resolved.</div>
        <div>
          <br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Is there a way that all these &quot;required&quot;
          dependencies are picked up automatically, by the Eclipse IDE?
            Or do I have to import all dependencies, by hand ? </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Thanks!</div>
        <div>Matthias</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <br>
        </div>
        <div><br>
        </div>
        <div><br clear="all">
          <div><br>
          </div>
          -- <br>
          Matthias Wessendorf <br>
          <br>
          blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
          sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
          twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
aerogear-dev mailing list
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>