title: Installing Facebook apk on Android Emulator
body: <p>Has anyone managed to do this?!</p>
  
  <p>I've tried various combinations of sdk/apk from this site with no luck.
  <a href="https://developers.facebook.com/docs/android/downloads">https://developers.facebook.com/docs/android/downloads</a></p>
  
  <p>When I use this SDK...</p>
  
  <pre><code>dependencies {
      compile 'com.facebook.android:facebook-android-sdk:3.23.0'
  }
  </code></pre>
  
  <p>... it <em>only</em> seems to work with targetSdkVersion "L". So fine. I run that emulator in x86 and use adb to install </p>
  
  <pre><code>./sdk/platform-tools/adb install Facebook-25.0.0.19.30.apk
  </code></pre>
  
  <p>I get "INSTALL_FAILED_NO_MATCHING_ABIS". On ARM, I have not managed to get the emulator to actually start. It's been "Preparing Recommendations" for over 30 minutes now.</p>
  
  <p>With a lower Facebook sdk version (com.facebook.android:facebook-android-sdk:3.21.1), I am able to run the emulator with a targetSdkVersion of 19, and install the Facebook.apk (Facebook APK 22.0)</p>
  
  <p>Unfortunately, when I open the Facebook app, I get the message that</p>
  
  <pre><code>"This version of android is no longer supported. please upgrade your device and try again"
  </code></pre>
  
  <p>I must be doing something wrong. Could anyone point me in the right direction?</p>