Skip to content

Commit 3fd8b85

Browse files
authored
feat: disable metrics and unlock net speed (#6)
1 parent 2256eb4 commit 3fd8b85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

start-emulator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Check if the .first-boot-done file exists
44
if [ -f /data/.first-boot-done ]; then
5-
RAMDISK_PATH="-ramdisk /data/android.avd/ramdisk.img"
5+
RAMDISK="-ramdisk /data/android.avd/ramdisk.img"
66
fi
77

88
# Start the emulator with the appropriate ramdisk.img
9-
/opt/android-sdk/emulator/emulator -avd android -writable-system -no-window -no-audio -no-boot-anim -skip-adb-auth -gpu swiftshader_indirect -no-snapshot $RAMDISK_PATH -qemu -m ${RAM_SIZE:-4096}
9+
/opt/android-sdk/emulator/emulator -avd android -nojni -netfast -writable-system -no-window -no-audio -no-boot-anim -skip-adb-auth -gpu swiftshader_indirect -no-snapshot -no-metrics $RAMDISK -qemu -m ${RAM_SIZE:-4096}

0 commit comments

Comments
 (0)