title: Distriqt Google Plus ANE - Issues on Android & Conflict with Milkman GoViral ANE
body: <p>I am currently working with Distriqt G+ ANE. My setup is this:</p>
  
  <ol>
  <li>AIR 16 with correct dx.jar provided in Distriqt tutorials.</li>
  <li>Using the Demoproject provided with District ANE</li>
  <li>Samsung Galaxy S-Plus (GT-I9001) with Android 2.3.6 for testing</li>
  <li>OAUTH IDs all set up correctly, <strong>it works perfectly on iOS</strong> </li>
  <li>GooglePlay and Core ANEs are included (even though former not necessary on iOS)</li>
  </ol>
  
  <p><strong>Problem #1:</strong>
  So i get the following very weird behavior with demo project (on Android):</p>
  
  <ol>
  <li>first call to signIn just does nothing. </li>
  <li>second call to signIn takes me to google plus application. </li>
  <li>i can select the account i want to use. but i can click on it and nothing happens. i can click 2-3 times usually.</li>
  <li>it switches back to the app, but triggers none of the event handlers</li>
  </ol>
  
  <p>-> steps are repeatable and i never get any events back
  if you search for the app id in the cat log the only thing are the traces from the app and </p>
  
  <blockquote>
    <p>08-19 18:18:32.031 I/GLSUser (4626): [GLSUser] getTokenFromGoogle
    [account: , callingPkg: air.my.com.zas.lefiner, service:
    oauth2:<a href="https://www.googleapis.com/auth/plus.login" rel="nofollow">https://www.googleapis.com/auth/plus.login</a></p>
  </blockquote>
  
  <p><strong>Problem #2:</strong> 
  If i try to implement this into my main app which uses several other ANEs.</p>
  
  <pre><code>&lt;extensionID&gt;com.distriqt.PushNotifications&lt;/extensionID&gt;
  &lt;extensionID&gt;com.itpointlab.ane.FlashLight&lt;/extensionID&gt;
  &lt;extensionID&gt;com.milkmangames.extensions.GoViral&lt;/extensionID&gt;
  &lt;extensionID&gt;com.distriqt.GooglePlus&lt;/extensionID&gt;
  &lt;extensionID&gt;com.distriqt.Core&lt;/extensionID&gt;
  &lt;extensionID&gt;com.distriqt.GooglePlayServices&lt;/extensionID&gt;
  </code></pre>
  
  <p>I <strong>can't compile</strong>. With a very long error. </p>
  
  <blockquote>
    <p>dx tool failed:warning: Ignoring InnerClasses attribute for an
    anonymous inner class (<strong>com.facebook.AppEventsLogger$1</strong>) that doesn't
    come with an associated EnclosingMethod attribute. This class was
    probably produced by a compiler that did not target the modern .class
    file format. The recommended solution is to recompile the class from
    source, using an up-to-date compiler and without specifying any
    "-target" type options. The consequence of ignoring this warning is
    that reflective operations on this class will incorrectly indicate
    that it is <em>not</em> an inner class.</p>
  </blockquote>
  
  <p>This block is repeated with dozens of other classes most of them in com.milkmangames.extensions.* some also having cryptic names like c.m.x.a.gv.al</p>
  
  <p>At the end there is a memory error:</p>
  
  <blockquote>
    <p>UNEXPECTED TOP-LEVEL ERROR: java.lang.OutOfMemoryError: Java heap
    space     at com.android.dx.util.IntList.growIfNeeded(IntList.java:274)
      at com.android.dx.util.IntList.add(IntList.java:217)<br>
    ...</p>
  </blockquote>
  
  <p>Has anybody ever encountered similar problems with these 2 ANEs or just the G+ ANE on the old android phone? </p>