在Android模拟器上安装Facebook的APK [英] Installing Facebook apk on Android Emulator

查看:3481
本文介绍了在Android模拟器上安装Facebook的APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人成功地做到这一点?!

Has anyone managed to do this?!

我已经从这个网站没有运气试图SDK / APK的各种组合。
https://developers.facebook.com/docs/android/downloads

I've tried various combinations of sdk/apk from this site with no luck. https://developers.facebook.com/docs/android/downloads

当我使用这个SDK ...

When I use this SDK...

dependencies {
    compile 'com.facebook.android:facebook-android-sdk:3.23.0'
}

...它的只有的似乎与targetSdkVersionL工作。如此精细。我在运行x86和利用亚行的模拟器安装

... 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

我得到INSTALL_FAILED_NO_MATCHING_ABIS。在ARM,我还没有设法让模拟器真正开始。它是preparing建议30分钟以上了。

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.

通过较低的Facebook SDK版本(com.facebook.android:facebook-android-sdk:3.21.1),我能够用19 targetSdkVersion运行模拟器,并安装Facebook.apk(脸谱APK 22.0 )

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)

不幸的是,当我打开Facebook的应用程序,我得到的消息

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?

推荐答案

从这里采取回答

INSTALL_FAILED_NO_MATCHING_ABIS是当你要安装一个
  应用程序,有本地库,它不具有本机库
  你的CPU架构。例如,如果你编译的ARMv7应用程序
  并试图对使用英特尔的仿真器安装
  架构,而不是它不会工作。

INSTALL_FAILED_NO_MATCHING_ABIS is when you are trying to install an app that has native libraries and it doesn't have a native library for your cpu architecture. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.

此外,您还可以实现在模拟器上一个解决方案,这里看到

Also, you can implement a solution on the emulator as seen here.

和,对于第二个错误,我认为这是pretty明确:Facebook不会让你使用该应用程序,因为它们不支持它了。

And, for the second error I think it's pretty clear: Facebook won't let you use that app because they don't support it anymore.

这篇关于在Android模拟器上安装Facebook的APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆