android studio 下載地址:http://www.android-studio.org/
找一個存儲空間,我在D盤上,建好如下目錄 :
找到剛才在載的文件 android-studio-ide-191.5977832-windows.exe 雙擊它,彈出如下安裝向導:
出現如下界面:
選中 Android Studio
選中 Android Virtual Device
更改默認路徑:
D:\androidstudio\studio 是剛才規划的目錄
安裝中:
安裝完成:
這里Android studio程序安裝完畢,但是還需要繼續對其進行配置;勾選Start Android Studio,然后點擊finish啟動Android studio,出現下圖:
選擇第二項: 【Do not import settings】,啟動界面會彈出,點擊Don't send
沒有發現Android SDK列表,讓你設置代理, 這兒點擊【cancel】
然后出現了這個界面(這個界面告訴我們Android 能做手機,穿戴設備,自動駕駛等開發):
Android Studio 默認會把你的SDK下載放在C盤,很容易導致C盤爆盤,所以我們一定要選【Custom】
開發界面的風格設置:我選擇了【Darcula】
如下界面,一定要更改安裝盤符:
我更改為:D:\androidstudio\sdk 如圖:
之后出現:
點擊【 Finish】開始下載:
正在下載頁面:
最后出現如圖錯誤:
Running Intel® HAXM installer
Failed to install Intel HAXM. For details, please check the installation log: "C:\Users\xiaocj\AppData\Local\Temp\haxm_log.txt"
HAXM installation failed. To install HAXM follow the instructions found at: https://software.intel.com/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
Installer log is located at C:\Users\xiaocj\AppData\Local\Temp\haxm_log.txt
Installer log contents:
=== Logging started: 2020/3/31 12:05:43 ===
This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed.
Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.
=== Logging stopped: 2020/3/31 12:05:43 ===
錯誤的大致意思為:
這台計算機不支持Intel虛擬化技術(VT-x),或者只是由Hyper-V專用。無法安裝HAXM。
請確保在Windows特性中禁用Hyper-V,或參閱Intel HAXM文檔以獲得更多信息。
進入任務管理器,確認一下電腦是否啟用了虛擬化技術。
關閉掉:
==============================================================
Android Studio SDK的重新安裝
SDK Manager
先:選中要安裝的Android的版本
再:更改安裝的路徑
路徑更改后,會彈出如下對話框:
點擊【Next】,安裝確認對話框
然后進入到下載 / 安裝界面:
安裝成功后:
摘自:https://blog.csdn.net/qq_38436214/article/details/105073213