我有两台电脑(都是运行Windows 7的),在这两台电脑上都安装了Eclipse。我最近更新了这两台电脑上的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”会显示“已连接设备列表”,但从未显示任何设备。
有什么想法吗?谢谢
adb kill-server
和start-server
用于帮助解决此类问题。现在可以通过adb kill-server
然后adb devices
来解决。 - Andrey Regentov