2011-01-20 74 views
3

我有2臺運行Eclipse的計算機(都是Windows 7)。我最近更新了兩者上的Android SDK。Android模擬器從未找到

筆記本電腦工作正常,並顯示在控制檯窗口下面當我開始我的應用程序:

[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' 

,這就是它。我可以等待並等待,並且「New emulator found」行不會顯示。仿真器以正確的AVD顯示,但該應用程序從未上傳到它。在CMD窗口中執行「adb設備」會顯示「附加設備列表」,但不會顯示任何設備。

任何想法?謝謝

回答

0

那麼最近我遇到了同樣的問題......我也不知道問題是什麼。但不知何故,我找到了解決辦法。在項目中創建了一個名爲lint.xml的文件,當我刪除時解決了我的問題。我不知道該文件是幹什麼的,但刪除它可以解決問題。請記住,您可能必須在刪除該文件後重新啓動eclipse。

+0

不適合我。在我的項目中沒有lint.xml – 2012-01-10 04:55:49