我在Facebook SDK文件夹中找不到.apk文件。我从这里下载了rar文件夹:
Link
修改
2. Install the Facebook SDK for Android and the Facebook APK
Download and extract the SDK ZIP file. The resulting folder, facebook-android-sdk-3.5, contains the SDK itself. Note the location of this folder.
The installable APK of the Facebook app is in the bin folder of the SDK, and named FBAndroid-3.5.apk or similar
Secondly, locate the adb tool in the platform-tools directory of your main Android SDK. On OS X, you will have chosen this location when you unzipped the Android SDK. On Windows, the SDK is installed into your home directory, under AppData\Local\Android\android-sdk
Assuming you’ve placed the Facebook SDK in your home directory, you use adb to install the APK to the running emulator in OS X like this:
./adb install ~/facebook-android-sdk-3.5/bin/FBAndroid-3.5.apk
And on Windows, like this:
adb install %HOMEPATH%\facebook-android-sdk-3.5\bin\FBAndroid-3.5.apk
You should now see the Facebook app in the emulator’s app list or home screen.
帮助我如何将fb放入我的模拟器中?
答案 0 :(得分:0)
在我看来,最新的Facebook APK for SDK 3.15不再位于sdk bin文件夹内(文档需要更新),但可以通过此链接单独下载:https://developers.facebook.com/docs/android/downloads
点击:Facebook APK 10.0