在Mac上的模拟器上安装apk

时间:2014-11-30 07:33:32

标签: android macos apk adb adt

我已按照以下方式在我的adt sdk的Nexus 7模拟器上安装messaging-simulator.apk ...

http://www.orhancanceylan.com/installing-and-testing-apk-files-to-the-android-emulator-on-mac/

但是,在启动设备(虚拟)之后(非常慢),当终端卡住或没有显示进度时,终端无法执行进一步的操作。 (基本上,我在./android命令后被卡住了。之后在终端中什么都没有输入。我如何解决这个问题?

This is how it looks now at the end!, emulator not up!

enter image description here

2 个答案:

答案 0 :(得分:0)

如果您无法在终端中输入内容 - 只需打开一个新的终端窗口并在那里输入。

一些可以加快模拟器速度的技巧

  1. 将您的模拟器设为intel x86。并选中Use host GPU
  2. 从sdk管理器安装HAXM
  3. 进行如下设置: enter image description here
  4. 我使用mac开发Android。

答案 1 :(得分:0)

非常感谢@Uriel Frankel。然而,由于我的macbook内存不足,他给出的所有提示和技巧都没有用。

所以我使用了Genymotion模拟器(http://techapple.net/2014/05/3-best-android-emulators-for-mac-os-macbook-run-and-install-android-app-on-your-mac-os-x-macbook-airpro/)而不是默认的android模拟器,并通过安装成功启动了应用程序。

你们都可以先尝试上面的解决方案,如果不能解决问题,请使用Genymotion,这很酷:)

相关问题