Regarding GPU mode error in launching Android virtual device

Tanvir Rahman picture Tanvir Rahman · Apr 16, 2016 · Viewed 9.8k times · Source

When I am trying to launch Android virtual device in Android Studio 2.0, it is giving me following error.

ERROR: Invalid GPU mode 'mesa', use one of: on off host guest

A screen shot is given bellow related to this error: Error

Any help would be greatly appreciated!Thanks.....

Answer

Milan Kerslager picture Milan Kerslager · May 18, 2016

Go to Virtual device manager, click 'Show on Disk' in the menu of the Virtual device. Open the config.ini file and change the respective line to: hw.gpu.mode=guest Then save the config.ini and then run Virtual device again. It should work.