android-emulator之一直找不到安卓模拟器

JustinYoung 阅读:134 2025-02-15 21:57:57 评论:0

我有 2 台运行 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”会显示“连接的设备列表”,但不会显示任何设备。

有什么想法吗?谢谢

请您参考如下方法:

好吧,我最近遇到了同样的问题......我也不知道问题出在哪里。但不知何故我找到了解决办法。在项目中创建了一个名为 lint.xml 的文件,当我删除它时,它为我解决了这个问题。我不知道那个文件做了什么,但删除它解决了这个问题。请记住,您可能必须在删除该文件后重新启动 eclipse。


标签:Android
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

关注我们

一个IT知识分享的公众号