When I run a 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) for software rendering.
The emulator works fine as far as I can tell. It is only a warning but I thought I would try to fix it. The most helpful things I could find were
However, they didn't tell me how to fix it. I'm using GLES 2.0 software rendering on the Ununtu Linux version of Android Studio and the Emulator. I checked the advanced settings in the AVD configuration but I didn't see any obvious changes to make.
I changed a file in this path under windows:
c:\Users\<user_name>\.android\avd\<avd_name>.avd\config.ini
changed property hw.gpu.mode value from mesa to swiftshader and the warning is gone.
Don't know if theres a global property where all new AVD will take it from.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With