@@ -11,29 +11,29 @@ echo " ☛ Bootstrapping Expo in ${CURRENT_ENV} mode"
11
11
12
12
" $DIR /setup-android-project.sh"
13
13
14
- if ! $ANDROID_SDK_ROOT /tools/android list avd | grep -q bare-expo; then
15
- echo " ⚠️ No emulator for bare Expo found, creating one..."
16
- $DIR /create-emulator.sh 22
17
- fi
18
-
19
- if $ANDROID_SDK_ROOT /platform-tools/adb devices -l | grep -q emulator; then
20
- echo " ✅ Emulator is already running"
21
- else
22
- echo " ⚠️ Starting emulator..."
23
- echo " no" | $ANDROID_SDK_ROOT /emulator/emulator " -avd" " bare-expo" " -skin" " 480x800" " -no-audio" " -no-boot-anim" " -port" " 5554" " -no-snapshot" " -partition-size" " 1024" &
24
-
25
- $DIR /wait-for-emulator.sh
26
- sleep 30
27
-
28
- $ANDROID_SDK_ROOT /platform-tools/adb wait-for-device
29
- $ANDROID_SDK_ROOT /platform-tools/adb shell settings put global window_animation_scale 0
30
- $ANDROID_SDK_ROOT /platform-tools/adb shell settings put global transition_animation_scale 0
31
- $ANDROID_SDK_ROOT /platform-tools/adb shell settings put global animator_duration_scale 0
32
- $ANDROID_SDK_ROOT /platform-tools/adb shell am broadcast -a android.intent.action.BOOT_COMPLETED &
33
-
34
- sleep 5
35
- echo " ✅ Emulator is running"
36
- fi
14
+ # if ! $ANDROID_SDK_ROOT/cmdline- tools/latest/bin/avdmanager list avd | grep -q bare-expo; then
15
+ # echo " ⚠️ No emulator for bare Expo found, creating one..."
16
+ # $DIR/create-emulator.sh 22
17
+ # fi
18
+
19
+ # if $ANDROID_SDK_ROOT/platform-tools/adb devices -l | grep -q emulator; then
20
+ # echo " ✅ Emulator is already running"
21
+ # else
22
+ # echo " ⚠️ Starting emulator..."
23
+ # echo "no" | $ANDROID_SDK_ROOT/emulator/emulator "-avd" "bare-expo" "-skin" "480x800" "-no-audio" "-no-boot-anim" "-port" "5554" "-no-snapshot" "-partition-size" "1024" &
24
+
25
+ # $DIR/wait-for-emulator.sh
26
+ # sleep 30
27
+
28
+ # $ANDROID_SDK_ROOT/platform-tools/adb wait-for-device
29
+ # $ANDROID_SDK_ROOT/platform-tools/adb shell settings put global window_animation_scale 0
30
+ # $ANDROID_SDK_ROOT/platform-tools/adb shell settings put global transition_animation_scale 0
31
+ # $ANDROID_SDK_ROOT/platform-tools/adb shell settings put global animator_duration_scale 0
32
+ # $ANDROID_SDK_ROOT/platform-tools/adb shell am broadcast -a android.intent.action.BOOT_COMPLETED &
33
+
34
+ # sleep 5
35
+ # echo " ✅ Emulator is running"
36
+ # fi
37
37
38
38
$DIR /start-metro.sh $port
39
39
0 commit comments