title: Google plus ane air native extension failed resolving interface
body: <p>I am attempting to add Google Plus support to an Air mobile app by creating a native extension. The code works in a standalone project however attempting to use it as a native extension produces the following error:</p>
  
  <pre><code>Failed resolving Lcom/myname/ane/sharingextensions/googleplus/GooglePlusConnect; interface 479 'Lcom/google/android/gms/common/api/GoogleApiClient$ConnectionCallbacks;'
  04-08 15:51:29.573: W/dalvikvm(19956): Link of class 'Lcom/myname/ane/sharingextensions/googleplus/GooglePlusConnect;' failed
  </code></pre>
  
  <p>It seems to me that the Google Play Services library is not actually being included in the native extension.
  The google-play-services_lib project is added as a library project to my native extension project. I have tried extracting the bin/google-play-services_lib.jar file from the google-play-services_lib project and updating my native extension jar with the contents</p>
  
  <pre><code>jar xf /path-to-play-services-project/bin/google-play-services_lib.jar
  jar uf ./my_gplus_extension.jar ./android
  </code></pre>
  
  <p>but this does not seem to fix the problem (all that seems to be in there is a single "UnusedStub.class" file). I have also updated the Android SDK in the Adobe Air directory to version 19 (as described here <a href="http://lancelotmobile.com/blog/air-compile-for-android-4/" rel="nofollow">http://lancelotmobile.com/blog/air-compile-for-android-4/</a>) but this also has had no effect.
  The offending class is:</p>
  
  <pre><code>public class GooglePlusConnect extends FragmentActivity implements
      ConnectionCallbacks, OnConnectionFailedListener,
      ResultCallback&lt;People.LoadPeopleResult&gt; {
  
          //Pretty much a clone of the google plus sign-in sample project
      }
  </code></pre>
  
  <p>It would be great if anyone had any insight into this or can spot any daft mistakes I have made.</p>