Possible Duplicate:
Android Emulator won’t run application started from eclipse
我在使用 Eclipse 和 Android 时遇到问题。当我单击 Eclipse 中的运行按钮时,它会启动模拟器,但不会启动应用程序。如果我在模拟器仍在运行时再次单击运行按钮,它只会启动模拟器的新实例,并且不会再次启动应用程序。
这是我得到的所有控制台输出:
[2012-10-18 11:36:55 - FTS Live] Android Launch!
[2012-10-18 11:36:55 - FTS Live] adb is running normally.
[2012-10-18 11:36:55 - FTS Live] Performing com.robinj.fts.stream.MainActivity activity launch
[2012-10-18 11:36:55 - FTS Live] Automatic Target Mode: Preferred AVD 'Froyo' is not available. Launching new emulator.
[2012-10-18 11:36:55 - FTS Live] Launching a new emulator with Virtual Device 'Froyo'
我尝试将其设置为始终尝试使用正在运行的 AVD/设备,但它只是说没有正在运行,而实际上有。
--
Windows XP、Eclipse Juno、Android SDK、x86(并不是说它在带有 Eclipse Indigo 的 Lubuntu 12.04 上更好;在那里我什至无法启动 AVD)。
最佳答案
1> 从任务管理器中删除 adb.exe 的所有实例。
2>运行kill-server,然后运行start-server命令。
3>重新启动eclipse。
关于java - Android 模拟器无法启动应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12951695/