diff --git a/src/commands/android_emulator_start.yml b/src/commands/android_emulator_start.yml index bf3d49b..c9dc69e 100644 --- a/src/commands/android_emulator_start.yml +++ b/src/commands/android_emulator_start.yml @@ -14,7 +14,7 @@ parameters: type: string default: "28.0.3" logcat_grep: - description: ADB logs will be shown in the "Start Android Emulator" commands, but we filter it using grep to avoid noise. You can specify additional strigns to grep for. Make sure you escape special characters. + description: ADB logs will be shown in the "Start Android Emulator" commands, but we filter it using grep to avoid noise. You can specify additional strings to grep for. Make sure you escape special characters. type: string default: "com.reactnativecommunity" @@ -29,7 +29,7 @@ steps: yes | sdkmanager "build-tools;<>" >/dev/null yes | sdkmanager --licenses >/dev/null yes | sdkmanager --list - + # to force ssh key generation for emulators - run: name: ADB Start Stop @@ -46,8 +46,8 @@ steps: - run: name: Start Android Emulator (background) command: | - /usr/local/share/android-sdk/emulator/emulator @<> -version - /usr/local/share/android-sdk/emulator/emulator @<> -skin 470x860 -cores 1 -gpu auto -accel on -memory 1024 -no-audio -no-snapshot -no-boot-anim -no-window -logcat *:W | grep -i 'ReactNative\|<>' + $ANDROID_HOME/emulator/emulator @<> -version + $ANDROID_HOME/emulator/emulator @<> -skin 470x860 -cores 1 -gpu auto -accel on -memory 1024 -no-audio -no-snapshot -no-boot-anim -no-window -logcat *:W | grep -i 'ReactNative\|<>' background: true - run: diff --git a/src/jobs/android_test.yml b/src/jobs/android_test.yml index 3b6c813..9c03c08 100644 --- a/src/jobs/android_test.yml +++ b/src/jobs/android_test.yml @@ -26,7 +26,7 @@ parameters: type: string default: "28.0.3" logcat_grep: - description: ADB logs will be shown in the "Start Android Emulator" commands, but we filter it using grep to avoid noise. You can specify additional strigns to grep for. Make sure you escape special characters. Defaults to 'com.reactnativecommunity'. + description: ADB logs will be shown in the "Start Android Emulator" commands, but we filter it using grep to avoid noise. You can specify additional strings to grep for. Make sure you escape special characters. Defaults to 'com.reactnativecommunity'. type: string default: "com.reactnativecommunity" # For the detox command