Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccarthyIrl committed Mar 9, 2024
1 parent e05a41e commit 9d70a81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/scripts/startEmulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
echo "Install Android SDK Platform Tools if not already installed..."
if ! command -v adb &> /dev/null; then
echo "Installing Android SDK Platform Tools..."
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "platform-tools" --verbose > /dev/null
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "platform-tools" --verbose
fi

# Find adb executable
Expand All @@ -14,6 +14,9 @@ if [ -z "$ADB" ]; then
exit 1
fi

echo "Start the ADB server"
$ANDROID_HOME/platform-tools/adb start-server

echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-31;default;x86_64" --verbose
echo "no" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager -v create avd \
-n testRunnner \
Expand Down

0 comments on commit 9d70a81

Please sign in to comment.