Emulator of android studio closing alone

Asked

Viewed 44 times

-3

beauty? Recently, I migrated to Kubuntu and tried to install Android Studio so I could emulate my apps. I followed this tutorial and I was able to install the AS successfully. However, when I try to start the emulator, it gives that google loading screen and then simply closes, presenting the following error:

inserir a descrição da imagem aqui

I’ve even tried some solutions from the internet and even from a community on Discord, but nothing solved. PS: I’m a beginner in Linux operating systems.

"Virtualization is enabled in Bios?"
Yes, I checked several times

1 answer

0

After days of searching, I found a solution to my problem. The original post can be found Here.

The steps to solve this problem were:

  1. Go to the folder .android located in your user folder (It is hidden by default). Inside this folder you will find another folder named after avd, where are the emulator folders created.

  2. Inside the folder avd, locate your emulator folder and within it you will find a file named config.ini. In this file you will find several settings, within them the hw.gpu.enabled=yes and the hw.gpu.mode=auto.

3.Change the values of these settings to: hw.gpu.enabled = no hw.gpu.mode = off and save the file.

After following these steps, the emulator opened normally for me, but if the error continues restart the system.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.