Issue
I get the following error message when trying to run the emulator from Android Studio:
Emulator: emulator: ERROR: Not enough disk space to run AVD 'Nexus_6_API_28'. Exiting...
I tried to increase the size of RAM space but it didn't help.
Software: Debian, Android studio virtual device.
device settings screenshot df -h
Solution
The issue is not with the amount on your hard drive but the setting requesting how much storage space is required by the emulator.
In Android Studio, follow these steps to reduce the hard drive space requested by the emulator:
- Click Tools -> AVD Manager
- Click the edit icon for the emulator
- Click the Show Advanced Settings
- Under Memory and Storage, reduce the Internal Storage, specify something like 2048MB for an emulator that comes with Google Play store or less for emulators without the Google Play Store.
Try to run again and see if it works.
If the above doesn't work, try wiping out the user data from the emulator. You can wipe the user data from the actions sections on the AVD Manager screen.
Answered By - Joseph
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.