android应用程序开发

时间:2012-02-18 06:35:15

标签: 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'!

3 个答案:

答案 0 :(得分:1)

关闭你的日食和AVD,然后重新开始一切都会好的。

答案 1 :(得分:0)

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

adb kill-server adb start-server

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

答案 2 :(得分:0)

尝试从模拟器中删除BackCamera和Snapshot,它对我有用。