Has anyone managed to do this?!
I've tried various combinations of sdk/apk from this site with no luck. https://developers.facebook.com/docs/android/downloads
When I use this SDK...
dependencies {
compile 'com.facebook.android:facebook-android-sdk:3.23.0'
}
... it only seems to work with targetSdkVersion "L". So fine. I run that emulator in x86 and use adb to install
./sdk/platform-tools/adb install Facebook-25.0.0.19.30.apk
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.
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)
Unfortunately, when I open the Facebook app, I get the message that
"This version of android is no longer supported. please upgrade your device and try again"
I must be doing something wrong. Could anyone point me in the right direction?