PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (in windows 10)

后端 未结 14 2584
深忆病人
深忆病人 2020-12-15 02:15

While running an app on the virtual device (AVD) created on Android studio (in Windows 10), I am getting an error and panic.

<

14条回答
  •  天命终不由人
    2020-12-15 02:58

    Find the ANDROID_HOME path values from environment variable. In my case it is like C:\Users\RuwanPr\AppData\Local\Android\Sdk. If this value not found please add ANDROID_HOME value as your sdk path. (To go to environment variable right click on my computer -> Properties -> Advance System Settings -> Environment Variable ) Then open cmd on windows and go to sdk folder and then go to tools folder Type emulator -list-avds in comd. It will shows avd name list. Then type emulator -avd avd-name. Ex - think avd-name shows as J2_Api_22 emulator -avd J2_Api_22

提交回复
热议问题