2011-11-14 58 views
0

我已經從http://developer.android.com/sdk/index.html安裝了Android SDK。在Mac上的SDK Manager中沒有顯示Android平臺

我已經創建了.bash_profile,並將其更新爲具有「android-sdk-macosx」文件夾的路徑。 但是,當我打開SDK管理器來安裝平臺時,它找不到它。我使用已在「首選項」中輸入的代理進行連接。

請幫忙。 我應該安裝其他一些SDK版本嗎?有沒有兼容性問題?儘管提及代理設置,它爲什麼不連接到互聯網。

回答

0

你應該確保SDK是在Eclipse的喜好配置

Configuring the ADT Plugin 

After you've successfully downloaded the ADT as described above, 
the next step is to modify your ADT preferences in Eclipse to point to the 
Android SDK directory: 

Select Window > Preferences... to open the Preferences panel (Mac OS X: 
Eclipse > Preferences). 
Select Android from the left panel. 
You may see a dialog asking whether you want to send usage statistics to Google. 
If so,  make your choice and click Proceed. You cannot continue with this 
procedure 
until you click Proceed. 

For the SDK Location in the main panel, click Browse... and locate your 
downloaded SDK directory. Click Apply, then OK. 

Done! If you haven't encountered any problems, then the installation is complete. 
If you're installing the Android SDK for the first time, return to Installing 
the SDK to 
complete your setup.*emphasized text*