2012-08-27 89 views
1

我正在使用android-sdk-macosx從網上下載,然後成功安裝了Android SDK 2.2和2.1,然後我試圖在Mac上創建新的AVD,但我對如何創建AVD沒有任何想法。如何在Mac上創建新的Android虛擬設備(AVD)?

我想這在下面,供大家參考提到:

Fig 1.0 Create new AVD 

enter image description here

Fig 2.0 I tried to open SDK and AVD Manager in eclipse menu Window --> Android SDK Manager 

enter image description here

回答

1

在Eclipse中,轉到Windows菜單,選擇首選項選項,以下對話框將出現。只需使用瀏覽按鈕選擇Android-SDK文件夾即可。

enter image description here

做 「應用按鈕」 這一步後點擊,

enter image description here

現在,你就可以在你的Eclipse創建新的AVD。

注意,我已經使用Windows系統上傳了這個圖像,但我確定,MAC有一些相同類型的菜單選項。

+0

感謝您的答覆,現在我檢查,並儘快更新你的。 – SampathKumar

+0

我試圖按照這個步驟,但錯誤來了,上面我提到的屏幕截圖供您參考。 – SampathKumar

+0

請幫助我,我花了2個小時這個,但我沒有完成這個 – SampathKumar

0

看起來你需要配置Eclipse來告訴它的android-sdk-macosx目錄(這可以在'窗口>首選項> Android> SDK位置「中完成。

另外,請看this page

+0

感謝您的回覆,請查看圖2.0 Android的SDK-MacOSX的 – SampathKumar

0

在截圖圖4.0中,在窗口頂部有一個錯誤消息,這可能解釋了爲什麼應用按鈕不可用。 儘管郵件無法完全讀取,但我認爲它說您的ADT版本(Android開發人員工具)與您的SDK版本不匹配:我可能想要嘗試更新兩者。

另外,看看this question,這可能是大約相同的問題。

1

按照此七個步驟來解決這個問題:

1. Start Eclipse, then select Help > Install New Software. 
2. Click Add, in the top-right corner. 
3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: 
https://dl-ssl.google.com/android/eclipse/ 
Click OK. 
4. If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons). 
In the Available Software dialog, select the checkbox next to Developer Tools and click Next. 
5. In the next window, you'll see a list of the tools to be downloaded. Click Next. 
Read and accept the license agreements, then click Finish. 
6. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK. 
7. When the installation completes, restart Eclipse. 
相關問題