Android Studio安裝後Fetching android sdk component information逾時的解決方案

來源:互聯網
上載者:User

標籤:

問題描述:

Android Studio 是一個全新的 Android 開發環境,基於IntelliJ IDEA. 類似 Eclipse ADT,Android Studio 提供了整合的 Android 開發工具用於開發和調試.

Android Studio安裝完成後,如果直接啟動,Android Studio會去擷取 android sdk 組件資訊,這個過程相當慢,還經常載入失敗,導致Android Studio啟動不起開。解決辦法就是不去擷取android sdk 組件資訊。

解決方案:

1)進入剛安裝的Android Studio目錄下的bin目錄。找到idea.properties檔案,用文字編輯器開啟。

2)在idea.properties檔案末尾添加一行:disable.android.first.run=true,然後儲存檔案。

3)關閉Android Studio後重新啟動,便可進入介面。

建立一個Android工程項目

1)啟動Android Studio後的介面:

備忘:這裡需要配置下sdk:

a、點擊進入configure:

b、進入介面後,再點擊project Defaults:

  

c、進入介面後,再點擊Project Structure:

d、進入介面後,設定Android SDK和JDK的路徑。

2)點擊start a new android studio project,建立一個Android項目(可以修改工程的工作空間)

3)直接下一步

4)再下一步

5)再下一步

6)點擊finish完成工程項目的建立。工程項目整體結構如下:


相關閱讀 :
Android studio 1.x 使用問題匯總
Android Studio安裝後Fetching android sdk component information逾時的解決方案
android studio module添加最新的com.android.support:appcompat-v7:21.0.0依賴報錯解決方案

Android Studio安裝後Fetching android sdk component information逾時的解決方案

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.