Xamarin Android Emulator: Broken AVD system path. Check your ANDROID_SDK_ROOT value

vbarzdyka
Mon, 18 Dec 2017 07:21:36 +0000
Issues

Step:
Create Android emulator

AVD Android Target:
android-25

Also I’m adding Custom Hardware Profile Content:
Added config option: hw.keyboard=yes
(any other option causes the same error)

Starting emulator
/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/emulator/emulator “-avd” “TestEmulator” “-skin” “768x1280” “-no-boot-anim” "-no-window"
PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

Then I’ve created an environment variable ANDROID_SDK_ROOT and got a new error:
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx]!

Any ideas why is this happening?

thanks in advance!

6 posts - 4 participants