【发布时间】:2014-06-27 10:24:55
【问题描述】:
我在 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 放入我的模拟器中?
【问题讨论】:
-
我不相信你需要一个 apk 它不是你的手机。它适用于您的 IDE