簡體   English   中英

無法在Android Studio 2.1上啟動模擬器

[英]Unable to start emulator on Android Studio 2.1

我無法在Android Studio 2.1上啟動模擬器,並出現以下錯誤

Cannot launch AVD in emulator.
Output:
emulator: WARNING: Increasing RAM size to 1024MB
init: Could not find wglGetExtensionsStringARB!
getGLES1ExtensionString: Could not find GLES 1.x config!
emulator: WARNING: VM heap size set below hardware specified minimum of 48MB
Failed to obtain GLES 1.x extensions string!
emulator: WARNING: Setting VM heap size to 256MB
Hax is enabled
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
Could not initialize emulated framebufferaudio: Failed to create voice `goldfish_audio_in'
qemu-system-i386.exe: warning: opening audio input failed
console on port 5554, ADB on port 5555
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

AVD控制台中出現相同的錯誤

我正在嘗試使用以下配置運行: 仿真器配置

我的android-studio具有以下詳細信息 關於android studio

任何幫助將不勝感激。

我遇到了同樣的問題,這就是我解決的方法

  1. 選擇您的AVD管理員
  2. 從虛擬設備列表中選擇您的設備
  3. 點擊編輯此設備信息
  4. 點擊顯示高級設置
  5. 將Ram大小更改為1 GB,然后單擊完成
  6. 啟動模擬器

步驟1:嘗試啟用設備框架。 (這對我有用。)
步驟2:如果這不起作用,則將版本更改為棒棒糖,或嘗試提供Ram 2Gb。
步驟3:如果仍然無法解決問題,請將圖形更改為軟件,而不是自動。

注意:創建新的虛擬設備時,請檢查右側是否下載了Hax文件。

選擇AVD管理器編輯虛擬設備選擇圖形到Software-GLES 2.0

  • 從Android Studio中打開Windows->選擇Android虛擬設備管理器->選擇設備->單擊編輯按鈕->在內存選項->保存中將RAM參數更改為512 Mb,然后保存並運行模擬器
  • 另外,您可以使用Genymotion Android Vm: https ://www.genymotion.com/?utm_source = dlvr.it & utm_medium = twitter#!/download

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM