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 d79d92d commit 26fb6ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/startEmulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ export PATH="$(dirname $ADB):$PATH"
echo "Start the ADB server"
$ADB start-server

# List available system images
echo "Available System Images:"
"$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --list --verbose | grep "system-images"

# Install the chosen system image
echo "Install Android SDK System Image if not already installed..."
echo "y" | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-31;default;x86_64" --verbose

echo "Create AVD..."
echo "no" | "$ANDROID_HOME"/cmdline-tools/latest/bin/avdmanager -v create avd \
-n testRunnner \
-k "system-images;android-31;default;x86_64" \
Expand Down

0 comments on commit 26fb6ce

Please sign in to comment.