unknown virtual device name (Android)

unknown virtual device name (Android)


Google Android SDK 開發範例大全 2
做到第22頁時 run as -> Android Application
卻無法執行,console出現以下訊息

[2010-09-21 15:43:18 - HelloWorld] ------------------------------
[2010-09-21 15:43:18 - HelloWorld] Android Launch!
[2010-09-21 15:43:18 - HelloWorld] adb is running normally.
[2010-09-21 15:43:18 - HelloWorld] Performing irdc.helloworld.HelloWorld activity launch
[2010-09-21 15:43:18 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'DVDID_2.1'
[2010-09-21 15:43:18 - HelloWorld] Launching a new emulator with Virtual Device 'DVDID_2.1'
[2010-09-21 15:43:18 - Emulator] emulator: ERROR: unknown virtual device name: 'DVDID_2.1'
[2010-09-21 15:43:18 - Emulator] emulator: could not find virtual device named 'DVDID_2.1'
[2010-09-21 15:44:25 - SDK Manager] Warning: Error parsing 'D:\SDK\android-sdk-windows\platforms\android-2\sdk.properties': java.io.FileNotFoundException: D:\SDK\android-sdk-windows\platforms\android-2\sdk.properties (系統找不到指定的檔案。).
[2010-09-21 15:44:25 - SDK Manager] Warning: Error parsing 'D:\SDK\android-sdk-windows\platforms\android-5\sdk.properties': java.io.FileNotFoundException: D:\SDK\android-sdk-windows\platforms\android-5\sdk.properties (系統找不到指定的檔案。).
[2010-09-21 15:44:25 - SDK Manager] Warning: Error parsing 'D:\SDK\android-sdk-windows\platforms\android-6\sdk.properties': java.io.FileNotFoundException: D:\SDK\android-sdk-windows\platforms\android-6\sdk.properties (系統找不到指定的檔案。).
 

goggle之後找到解決方案
我的電腦 右鍵 內容
進階 系統變數 新增
變數名稱
ANDROID_SDK_HOME
變數值
D:\SDK\android-sdk-windows

 


如有錯誤 歡迎指正