[Android開發]emulator無法啟動的問題


創建Android項目后,點擊運行,發現模擬器無法啟動,並且報錯:

emulator: ERROR: x86 emulation currently requires hardware acceleration!

Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.

 

第二個是warning暫時可以忽略,主要是第一個問題導致我無法調試,而且我的手機並非安卓,無法使用真機。

查找資料后發現,應當下載一個intel-haxm的安裝包。下載地址:https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm

 

安裝后再啟動Intellij Idea的時候,運行項目,就發現可以啟動Emulator了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM