[英]Installing apk on emulator in mac
I have followed following tut to install messaging-simulator.apk on my Nexus 7 emulator of adt sdk... 我已经按照以下教程在我的adt sdk的Nexus 7模拟器上安装了messages-simulator.apk ...
http://www.orhancanceylan.com/installing-and-testing-apk-files-to-the-android-emulator-on-mac/ http://www.orhancanceylan.com/installing-and-testing-apk-files-to-the-android-emulator-on-mac/
But, after the device (virtual) is launched (which is annoyingly slow), no further action could be performed from terminal as it gets stuck or no progress is shown. 但是,启动设备(虚拟)后(令人讨厌的速度很慢),由于终端卡住或无法显示进度,因此无法从终端执行进一步的操作。 (Basically, I am stuck after ./android command. Nothing can be entered in terminal after that. How do i resolve this?
(基本上,我在./android命令后被卡住。在那之后什么都不能在终端中输入。如何解决这个问题?
If you can't type a thing in the terminal - just open a new Terminal window and type it there. 如果您无法在终端中输入任何内容-只需打开一个新的终端窗口并在其中输入即可。
A few tips that will speed up your emulator 一些可以加速模拟器的技巧
I use mac to develop Android. 我使用mac开发Android。
Thanks a ton to @Uriel Frankel. 感谢@Uriel Frankel。 Yet, all those tips and tricks given by him did not work out for me due to low memory in my macbook.
但是,由于我的macbook内存不足,他给出的所有提示和技巧对我来说都行不通。
So I have used Genymotion emulator( 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/ ) instead of default android emulator and successfully launched the app by installing it. 所以我用了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仿真器),并通过安装成功启动了该应用。
You can all try above solution first and if it did not work out, use Genymotion, it's cool :) 大家都可以先尝试上述解决方案,如果解决不了,请使用Genymotion,这很酷:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.