Update emulator to use xamarin
This commit is contained in:
Родитель
919f539825
Коммит
6bea0a8ed6
|
@ -10,7 +10,7 @@ steps:
|
|||
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install 'system-images;android-27;google_apis;x86'
|
||||
|
||||
# Create emulator
|
||||
echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd -n android_emulator -k 'system-images;android-27;google_apis;x86' --force
|
||||
echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd -n xamarin_android_emulator -k 'system-images;android-27;google_apis;x86' --force
|
||||
|
||||
# list emulator
|
||||
echo "Available emulator"
|
||||
|
@ -19,7 +19,7 @@ steps:
|
|||
echo "Starting emulator"
|
||||
|
||||
# Start emulator in background
|
||||
nohup $ANDROID_HOME/emulator/emulator -avd android_emulator -no-snapshot > /dev/null 2>&1 &
|
||||
nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -no-snapshot > /dev/null 2>&1 &
|
||||
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'
|
||||
|
||||
#list online device/emulator
|
||||
|
|
Загрузка…
Ссылка в новой задаче