我有两台运行Eclipse的计算机(都是Windows 7)。我最近在这两个版本上更新了Android SDK。
笔记本电脑正常工作,并在我启动应用程序时在控制台窗口中显示以下内容:
[2011-01-20 11:44:28 - Balloons] Android Launch!
[2011-01-20 11:44:28 - Balloons] adb is running normally.
[2011-01-20 11:44:28 - Balloons] Performing org.sherti.balloons.balloons activity launch
[2011-01-20 11:44:28 - Balloons] Automatic Target Mode: Preferred AVD 'AVD2.3-800' is not available. Launching new emulator.
[2011-01-20 11:44:28 - Balloons] Launching a new emulator with Virtual Device 'AVD2.3-800'
[2011-01-20 11:44:30 - Balloons] New emulator found: emulator-5554
[2011-01-20 11:44:30 - Balloons] Waiting for HOME ('android.process.acore') to be launched...
[2011-01-20 11:45:09 - Balloons] HOME is up on device 'emulator-5554'
桌面无效并显示在控制台窗口中:
[2011-01-20 11:49:19 - HelloAndroid] ------------------------------
[2011-01-20 11:49:19 - HelloAndroid] Android Launch!
[2011-01-20 11:49:19 - HelloAndroid] adb is running normally.
[2011-01-20 11:49:19 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-01-20 11:49:19 - HelloAndroid] Automatic Target Mode: Preferred AVD 'AVD2.3-480' is not available. Launching new emulator.
[2011-01-20 11:49:19 - HelloAndroid] Launching a new emulator with Virtual Device 'AVD2.3-480'
就是这样。我可以等待并等待“找到新的模拟器”行永远不会显示。模拟器显示正确的AVD,但应用程序永远不会上传到它。在CMD窗口中执行“adb devices”会显示“附加设备列表”,但从不显示任何设备。
有什么想法吗?感谢
答案 0 :(得分:0)
我最近遇到了同样的问题......我也不知道问题是什么。但不知何故,我找到了解决方案。在项目中创建了一个名为lint.xml的文件,当我删除时为我解决了问题。我不知道该文件的作用,但删除它解决了这个问题。请记住,删除该文件后可能必须重新启动eclipse。