1

ERROR: resizing partition e2fsck failed with exit code 8

I want to run my first android app i'm getting error with Emulator, plz help me.

Vikram Deshmukh
  • 12,304
  • 4
  • 36
  • 38
  • Have a look at [this](http://stackoverflow.com/questions/39621715/error-with-android-studio-cannot-launch-avd-in-emulator). And also consider adding some more relevant tags to your question. – Vikram Deshmukh Sep 23 '16 at 08:42
  • this link helps me: http://stackoverflow.com/questions/39877508/error-resizing-partition-e2fsck-failed-with-exit-code-8 – Yu Jiaao Mar 06 '17 at 01:59
  • Possible duplicate of [ERROR: resizing partition e2fsck failed with exit code 8](https://stackoverflow.com/questions/39877508/error-resizing-partition-e2fsck-failed-with-exit-code-8) – Zoe Jun 10 '19 at 13:24

1 Answers1

0

We can fix the issue as follows

  1. Try to increase the VM Heap size to 512 MB which is the minimum required size.

if it doesn't work

  1. Increase your emulator RAM=1024 MB and Internal storage =550 MB.

If these two doesn't work then finally create a new virtual device instead of using the old one.

Thank you.

Vijaya Varma Lanke
  • 603
  • 2
  • 7
  • 19
  • <> where didi you find this value? It seems the minimum is 16 (for older devices), here more details: https://stackoverflow.com/questions/5350465/android-heap-size-on-different-phones-devices-and-os-versions – aorlando Jul 02 '20 at 15:31
  • go to /Applications/Android\ Studio.app/Contents/bin/studio.vmoptions and change Xmx or Environment Variables had a System Variable called _JAVA_OPTIONS with the value -Xms256m -Xmx512m, after changing this to -Xms256m -Xmx1024m the max heap size increased accordingly....Thank you – Vijaya Varma Lanke Jul 03 '20 at 08:12
  • so in the point 1 of your answer you are talking about java VM of the machine where android studio run, in the point 2 you are talking about emulator configuration, please edit the answer and specify. Also the emulator has a VM heap size configuration of the dex VM... – aorlando Jul 03 '20 at 22:37