简体   繁体   English

将Facebook APK安装到Android模拟器

[英]Installing the Facebook apk to the android emulator

I'm trying to install the Facebook apk to my android emulator as per: https://developers.facebook.com/docs/android/getting-started . 我正在尝试按照以下步骤将Facebook apk安装到我的Android模拟器中: https : //developers.facebook.com/docs/android/getting-started I use the command: 我使用以下命令:

adb install <path>/Facebook-11.apk

It starts okay. 它开始没问题。 After a while i get 一段时间后,我得到

255KB/s (40683138 bytes in 155.495s)
pkg: /data/local/tmp/Facebook-11.apk

And then it just seems to hang on that. 然后,它似乎就挂了。 It has been stuck there for a good while now. 它已经被卡在那里好一阵子了。 How long should this take? 这需要多长时间? I read it should only take a few minutes. 我读过只需几分钟。 Is there any way to check if something has gone wrong? 有什么方法可以检查出问题了吗?

i increased the VM heap to 50mb and it worked. 我将VM堆增加到50mb,并且它起作用了。 it was just the memory problem although i think 50 mb is more than enough 这只是内存问题,尽管我认为50 mb绰绰有余

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM