簡體   English   中英

無法在Visual Studio 2017中啟動Android模擬器

[英]Android Emulator cannot be started in visual studio 2017

我正在Xamrin Project上工作,當我在Android Emulator上運行應用程序時,每次嘗試啟動它時都會出現此錯誤:

getGLES2ExtensionString: Could not find GLES 2.x config!  
Failed to obtain GLES 2.x extensions string!  
Could not initialize emulated framebuffer  
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

我嘗試過多次重新創建android設備,但仍然無法正常工作。

有什么幫助嗎?

發生問題是因為AVD嘗試使用系統的圖形卡渲染圖形,而由於系統的圖形驅動程序不是最新的或不支持此功能而無法執行此操作,因此這里是解決方案。

1.編輯您的AVD。

2.取消選中使用主機GPU選項。

3.單擊完成(保存)。

4.重新啟動模擬器。

暫無
暫無

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

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