1. 出現錯誤提示:Intel HAXM is required to run this AVD,VT-x is disabled in BIOS的解決辦法。 點擊SDK圖標,安裝Intel x86 Emulator Accelerator (HAXM installer)。 在sdk路徑下,找到e ...
1. 出現錯誤提示:Intel HAXM is required to run this AVD,VT-x is disabled in BIOS的解決辦法。
- 點擊SDK圖標,安裝Intel x86 Emulator Accelerator (HAXM installer)。
- 在sdk路徑下,找到extras-》intel-》Hardware_Accelerated_Execution_Manager,直到找到intelhaxm-android.exe這個文件安裝並運行。
- 進入系統BIOS界面,找到Intel (R) virtualization Technology項並設置為Enable。
- 重啟。
2. 導入Android studio時出現錯誤Plugin with id 'com.android.application' not found的解決辦法。
這個錯誤是build.gradle造成的,打開報錯的項目的build.gradle,看看有沒有buildscript{}(應該是沒有的,因為就是沒有這個東西才報錯的。將下麵的代碼粘貼到build.gradle中,重新編譯即可。
1 buildscript { 2 repositories { 3 mavenCentral() // or jcenter() 4 } 5 dependencies { 6 classpath 'com.android.tools.build:gradle:1.5.0' //last version Jan 2016 7 } 8 }