Android AVD starting error

前端 未结 4 578
情话喂你
情话喂你 2020-12-21 07:09

I am getting this error when i start an avd in android studio. Any help would be appreciated. And also unable to start android studio except from terminal.

PANIC:

4条回答
  •  时光取名叫无心
    2020-12-21 07:39

    I also came across to the same problem while launching Android emulator launch.

    PANIC: HOME is defined but could not find testAvd.ini file in $HOME\.android\avd

    (Note: avd is searched in the order of $ANDROID_AVD_HOME,$ANDROID_SDK_HOME\.android\avd and $HOME\.android\avd)
    

    There are two solutions I found for the above problem. Goto run and type regedit for windows and check the path set in the registry variables in under

    HKEY_LOCAL_MACHINE->Android Studio
    

    And check the .android\avd referring to the location of your testAvd.ini location. If not, either correct it or put your ini file at the UserSettingsPath present in your disc location.

提交回复
热议问题