Segmentation Fault trying to set battery level in android emulator

耗尽温柔 提交于 2019-12-05 16:21:34

I just had the same problem and luckily found a solution.

  1. Go to your Android Virtual Devices folder. On Windows 7 it's this folder for example:

    C:\Users\{yourUserName}\.android\avd\{yourAVDName}.avd

  2. Open the config.ini file

  3. Set the battery option to yes: hw.battery=yes
  4. Restart your Virtual Device and be happy :-)

It has been raised as an issue already, but I'm not sure why they didn't fix it yet.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!