1、准備工作:
操作系統:Windows10 專業版或企業版
JDK安裝:參考文章 http://www.cnblogs.com/yuwentao/p/4742575.html
===================================
2、下載Android Studio 3.12集成開發環境:
下載地址1:http://www.androiddevtools.cn/
下載地址2:https://developer.android.com/ (這是官網地址,需要翻牆)
下載完成之后,點擊安裝文件,一路 “Next”安裝完成
3、安裝SDK Tools工具
可以下載Windows安裝文件進行下載,一路“Next”安裝即可:
如下圖所示:
注意安裝時文件夾路徑名稱不能有空格!
4、配置 SDK manager
重啟 Android Studio 3.12 IDE,點擊 SDK Manager主界面,點擊Tools—>Option菜單
在HTTP Proxy Server下輸入:mirrors。neusoft.edu.cn,在HTTP Proxy Port下輸入:80,最后再勾選Others下的Force HTTPS....,點擊確定。
5、使用SDK manager更新Android Studio開發所需要的各種工具和更新需要的包。
================================================================
附: 常見Android Studio的常見問題列表
1. you can import your settings from a previous version of Studio
可以導入您的設置從先前版本的工作室
2. I want to import my settings from a custom location
我想進口設置從一個自定義的位置
3. specify config folder or installation home of the previous version of Studio
指定配置文件夾或者安裝的先前版本的工作室
4. I do not have a previous version of Studio or I do not want to import my settings
我沒有前一個版本的工作室或我不想導入設置
5. unable to access android sdk add-on list
無法訪問android sdk 插件列表
6. SDK components setup SDK 組件安裝
7. check the components you want to update/install.click next to continue
檢查你想更新/安裝的組件。單擊next繼續
8. the collection of android platform APIs ,tools and utilities that enables you to debug profile, and compile you apps
android平台api的集合、工具和實用程序,使您可以調試配置文件,並編譯你的應用程序
9. the setup wizard will update your current android sdk installation (if necessary) or install a new version
安裝向導將會更新您當前的android sdk安裝(如果必要的話)或安裝新版本
10. an existing android sdk was detected.the setup wizard will only download missing or outdated sdk components
發現現有的android sdk。安裝向導只會下載缺失或過時的sdk組件
11. A preconfigured and optimized Android Virtual Device for app testing on the emulator .(recommended)
一個預配置和優化的Android應用程序測試的虛擬設備模擬器。(推薦)
12. you have chosen to skip the setup wizard .review options below,then click ok
你選擇跳過安裝向導。檢查下面的選項,然后單擊ok
13. Re-run the setup wizard on the next android studio startup (recommended)
重新運行安裝向導在下一個android studio啟動(推薦)
14. do not re-run the setup wizard不重新運行安裝向導
15. android studio setup wizard (android studio安裝向導)select UI theme 選擇UI主題
16. help improve android studio by sending usage statistics to Google
幫助改善谷歌android工作室通過發送使用統計數據
17. please click I agree if you want to help make android studio better or I don't agree otherwise
如果你想幫助android工作室變得更好請點擊我同意,否則點我不同意。
SDK問題
18. you android SDK is missing ,out of date ,or is missing templates.
你android SDK是失蹤的,過時的,或者缺少模板。
19. you can configure your SDK via configure/project defaults/project structure/SDKs
您可以配置您的SDK通過配置/項目違約/項目結構/ SDK
20. the directory where the android sdk is located .this location will be used for new projects ,and for existing projects that do not have a local .properties file with a sdk .dir property.
android sdk所在的目錄。這個位置將用於新項目,沒有當地的現有項目。sdk的屬性文件。dir屬性。
21. No CPU/ABI system image available for this target
沒有可用的CPU / ABI系統映像為這個目標
22. This AVD may not work unless you install the Google APIs Intel Atom (x86) system image for Android6.0(API23) first.
這AVD可能不工作,除非你安裝谷歌api的英特爾Atom(x86)系統映像Android6.0(API23)。
23. On windows,emulating RAM greater than 768M may fail
在windows上,模擬內存大於768可能會失敗
24. emulator:ERROR :x86 emulation currently requires hardware acceleration
模擬器:錯誤:x86仿真目前需要硬件加速
25. please ensure Intel HAXM is properly installed and usable
請確保英特爾HAXM正確安裝和使用
26. CPU acceleration status :HAX kernel module is not installed
CPU加速狀態:HAX內核模塊沒有安裝
27. ignoring unknown package filter 'extra-intel-hardware-accelerated-execution-manager' warning :The package filter removed all packages. There is nothing to install.
忽略未知的包過濾多余的intel硬件加速執行經理的警告:包過濾移除所有的包。沒有安裝。
28. Please consider trying to update again without a package filter
請再次嘗試更新沒有包過濾器
參考文章: http://www.jb51.net/article/128057.htm?utm_source=debugrun&utm_medium=referral