How do I restart an android emulator?

后端 未结 12 1027
执念已碎
执念已碎 2021-01-31 14:56

I\'m basically trying to do this: Changing the Android emulator locale automatically

Everything works up until \'start\'. the emulator starts to boot but keeps loading

12条回答
  •  鱼传尺愫
    2021-01-31 15:30

    I'm pretty sure this will work:

    • Clear/Wipe the AVD to defaults or create a new one.

    • Start the AVD/Emulator from the CLI with the following command

      emulator -avd my_avd -prop persist.sys.language=en -prop persist.sys.country=GB
      

    change as needed. That way you are not messing with the system image which can cause hangs/crashes. And you can easily set it on boot for a variety of Locales.

提交回复
热议问题