diff --git a/start-emulator.sh b/start-emulator.sh index b6f9f87..aa19835 100644 --- a/start-emulator.sh +++ b/start-emulator.sh @@ -2,8 +2,8 @@ # Check if the .first-boot-done file exists if [ -f /data/.first-boot-done ]; then - RAMDISK_PATH="-ramdisk /data/android.avd/ramdisk.img" + RAMDISK="-ramdisk /data/android.avd/ramdisk.img" fi # Start the emulator with the appropriate ramdisk.img -/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} \ No newline at end of file +/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} \ No newline at end of file