Skip to content

Commit

Permalink
start the emulator blocking so we can see any issues during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus authored Nov 5, 2024
1 parent 0cedb2b commit 10bee8e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/start-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ echo "List available AVDs..."
$ANDROID_HOME/emulator/emulator -list-avds

# Start emulator in background
echo "Starting emulator..."
nohup $ANDROID_HOME/emulator/emulator -avd $AVD_EMULATOR_NAME -no-snapshot > /dev/null 2>&1 &
# echo "Starting emulator..."
# nohup $ANDROID_HOME/emulator/emulator -avd $AVD_EMULATOR_NAME -no-snapshot > /dev/null 2>&1 &
echo "Starting emulator blocking..."
$ANDROID_HOME/emulator/emulator -avd $AVD_EMULATOR_NAME -no-snapshot

echo "Wait for emulator availability..."
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'ls'
echo "Verify emulator devices as running..."
Expand Down

0 comments on commit 10bee8e

Please sign in to comment.