File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
44
command : avdmanager create avd --force -n <<parameters.device_name>> -k "system-images;<<parameters.platform_version>>;google_apis;x86" -g google_apis -d "Nexus 4"
45
45
46
46
- run :
47
- name : Start Android Emulator in background
47
+ name : Start Android Emulator ( background)
48
48
command : |
49
49
/usr/local/share/android-sdk/emulator/emulator @<<parameters.device_name>> -version
50
50
/usr/local/share/android-sdk/emulator/emulator @<<parameters.device_name>> -skin 470x860 -cores 1 -gpu auto -accel on -memory 1024 -no-audio -no-snapshot -no-boot-anim -no-window -logcat *:W | grep -i 'ReactNative\|<<parameters.logcat_grep>>'
@@ -54,12 +54,12 @@ steps:
54
54
name : Wait for AVD to be ready
55
55
no_output_timeout : " 5m"
56
56
command : |
57
- boot =""
57
+ export BOOT =""
58
58
echo "Waiting for AVD to finish booting"
59
59
export PATH=$(dirname $(dirname $(command -v android)))/platform-tools:$PATH
60
- until [[ "$boot " =~ "1" ]]; do
60
+ until [[ "$BOOT " =~ "1" ]]; do
61
61
sleep 5
62
- boot =$(adb -e shell getprop sys.boot_completed 2>&1)
62
+ export BOOT =$(adb -e shell getprop sys.boot_completed 2>&1)
63
63
done
64
64
sleep 15
65
65
adb shell settings put global window_animation_scale 0
You can’t perform that action at this time.
0 commit comments