Xamarin Android Emulator: Please define ANDROID_SDK_ROOT

tudorlazarean
Tue, 07 Feb 2017 15:13:33 +0000
Tooling Issues

Step:
Create Android emulator

AVD Android Target:
android-22

Custom Hardware Profile Content:
Added config option: hw.gpu.enabled=no
(any other option causes the same error)

Perform Build causes error:

Starting emulator
/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/tools/emulator -avd Generic -skin 768x1280 -no-boot-anim -no-audio
PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

(Even if creating an app environment variable ANDROID_SDK_ROOT: /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx gives the error : Path is broken)

Any idea what this could be?
Thanks a lot!!!

6 posts - 5 participants