问题描述
当我通过日食首次推出的Android模拟器,它的菜单显示,我创建了所有的测试应用程序。但何时推出同样的仿真器的第二个实例,它的菜单不显示我的任何应用程序。我怎么能在第二个仿真器上安装我的应用程序呢?我需要安装两个模拟器的应用程序进行测试。
When I launch the android emulator through eclipse for the first time, its menu shows all the test apps that I have created. But when the launch a second instance of the same emulator, its menu does not shows any of my apps. How can I install my apps on the second emulator as well? I need to have an application installed on both the emulators to test it.
推荐答案
这是因为你不能同时运行两个仿真器。事实上,你可以,但第二个仿真器将不会使用仿真器的图像文件 - 第二个仿真器将不会使用previously保存的数据并不会保存任何更改。两个仿真器不能同时使用一个模拟器图像文件。你可以阅读有关模拟器图像文件。
It happens because you can't run two emulators simultaneously. In fact you can but second emulator will not use emulator image files - second emulator will not use previously saved data and will not save any changes. Two emulators can't use one emulator image file simultaneously. You can read about emulator image files here.
解决方案:结果
您可以通过Eclipse或者ADB发射后安装上第二个仿真应用。结果
或者你可以创建另一个仿真器(AVD文件)。 。
这篇关于两个仿真器上安装相同的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!