我正在 Xamrin 項目上工作,當我在 Android 模擬器上運行我的應用程序時,每次我嘗試啟動它時都會出現此錯誤: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 設備,但仍然無法正常工作。有什么幫助嗎?
1 回答

弒天下
TA貢獻1818條經驗 獲得超8個贊
出現此問題的原因是 AVD 嘗試使用系統顯卡渲染圖形,但由于系統的顯卡驅動程序不是最新的或不支持此操作而無法執行此操作,因此這里是解決方案。
1.編輯您的AVD。
2.取消選中“使用主機GPU”選項。
3.單擊完成(保存)。
4.重新啟動模擬器。
- 1 回答
- 0 關注
- 137 瀏覽
添加回答
舉報
0/150
提交
取消