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 f6f0cf6 commit cce0462
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/startEmulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ 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 All @@ -15,6 +14,9 @@ if [ -z "$ADB" ]; then
exit 1
fi

# Add adb directory to PATH
export PATH="$(dirname $ADB):$PATH"

echo "Start the ADB server"
$ADB start-server

Expand Down

0 comments on commit cce0462

Please sign in to comment.