Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Regarding GPU mode error in launching Android virtual device

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.....

like image 340
Tanvir Rahman Avatar asked Apr 16 '16 19:04

Tanvir Rahman


1 Answers

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.

like image 50
Milan Kerslager Avatar answered Oct 21 '22 06:10

Milan Kerslager