We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2256eb4 commit 3fd8b85Copy full SHA for 3fd8b85
1 file changed
start-emulator.sh
@@ -2,8 +2,8 @@
2
3
# Check if the .first-boot-done file exists
4
if [ -f /data/.first-boot-done ]; then
5
- RAMDISK_PATH="-ramdisk /data/android.avd/ramdisk.img"
+ RAMDISK="-ramdisk /data/android.avd/ramdisk.img"
6
fi
7
8
# 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}
+/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