Android Studio: Mesa software renderer is deprecated. Use Swiftshader for software

When I run the project in Android Studio using the emulator, I get the following error in the debug window:

/ home / me / Android / Sdk / tools / emulator -netdelay none -netspeed full -avd Nexus_6P_API_24

WARNING: The Mesa software renderer is deprecated. Use Swiftshader (-gpu swiftshader) to render software.

The emulator works great as far as I can tell. This is just a warning, but I thought I'd try to fix it. The most useful things I could find were

However, they did not tell me how to fix it. I am using GLES 2.0 software rendering on Ununtu Linux versions of Android Studio and the emulator. I checked the advanced settings in the AVD configuration, but I did not see any obvious changes.

+4
source share
1 answer

I changed the file in this way under the windows:

C:. \ Users \ <username> \ Android \ AED \ <avd_name> .avd \ config.ini

The hw.gpu.mode property has changed from mesa to swiftshader , and the warning disappears.

Not sure if theres a global property from which all new AVD will be extracted.

+11
source

Source: https://habr.com/ru/post/1655039/


All Articles