可能重复:
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)。
答案 0 :(得分:0)
1>从任务管理器中删除所有adb.exe实例。
2>运行kill-server,然后运行start-server命令。
3>重启eclipse。