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 065e6d7 commit 03bd8a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/scripts/startEmulator.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
#!/bin/bash

ANDROID_HOME=~/usr/local/lib/android/sdk
export PATH=$ANDROID_HOME/emulator/:$PATH
export PATH=$ANDROID_HOME/platform-tools/:$PATH
export PATH=$ANDROID_HOME/cmdline-tools/latest/bin/:$PATH

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
export PATH=$ANDROID_HOME/platform-tools/:$PATH
fi

# Find adb executable
Expand Down

0 comments on commit 03bd8a4

Please sign in to comment.