2012-02-18 149 views
2

每当我运行一个android应用程序来了模拟器,但它不显示输出。 在运行时显示此警告。android应用程序开发

[2012-02-18 10:31:15 - Emulator] Warning: No DNS servers found 

the console part shows the following messages 
2012-02-18 11:26:52 - LunchList ------------------------------ 
2012-02-18 11:26:52 - LunchList Android Launch! 
2012-02-18 11:26:52 - LunchList adb is running normally. 
2012-02-18 11:26:53 - LunchList Performing apt.tutorial.LunchList activity launch 
2012-02-18 11:26:53 - LunchList Automatic Target Mode: launching new emulator with compatible AVD 'secondAVD' 
2012-02-18 11:26:53 - LunchList Launching a new emulator with Virtual Device 'secondAVD' 
2012-02-18 11:27:15 - Emulator emulator: WARNING: Unable to create sensors port: Unknown error 
2012-02-18 11:27:16 - LunchList New emulator found: emulator-5554 
2012-02-18 11:27:16 - LunchList Waiting for HOME ('android.process.acore') to be launched... 
2012-02-18 11:29:15 - LunchList emulator-5554 disconnected! Cancelling 'apt.tutorial.LunchList activity launch'! 

回答

1

关闭你的eclipse和AVD都重新开始一切都会好的。

+0

它不适用于我... – 2012-02-19 16:20:24

+0

我已经做出了另一个AVD与更低的API级别是14,但是当我运行应用程序时出现了模拟器与Android动画标签..没有更多,虽然我等了很多,但当我看到eclipse窗口时,控制台窗口中出现错误消息[2012-02-19 21:17:39 - Emulator] NAND:nand_dev_load_disk_state ftruncate失败:无效参数 [2012-02-19 21:17:42 - 模拟器] savevm:无法加载部分nand_dev [2012-02-19 21:18:57 - LunchList] emulator-5554断开连接!取消'apt.tutorial.LunchList活动启动'! – 2012-02-19 16:25:14

+2

感谢ALLAH它现在的工作.....我做了一个新的AVD API等级10和谷歌API,当我运行该项目时,它显示输出... – 2012-02-19 16:39:30

0

尝试在你的命令提示符下运行:

ADB杀服务器 亚行启动服务器

这是重新启动了Android调试桥。 如果您在运行上述命令时遇到任何问题,请尝试检查路径环境变量中是否存在adb。

0

尝试从模拟器中删除BackCamera和快照,它为我工作。