I updated my android studio to 2.1 preview version, after that it's giving No space left on device Error. How to resolve this issue?
For me, this was due to my /tmp partition being too small. I got these errors both when trying to install a large device image (Android 7.1) and when trying to start an AVD. It seems that Android Studio will try to unzip big files in /tmp.
To increase the size of /tmp on Linux, set the size= parameter in /etc/fstab, e.g. on my Ubuntu I now have:
tmpfs /tmp tmpfs defaults,size=3g 0 0
A reboot is needed to apply that change.
Note that tmpfs is entirely held in RAM so you should probably undo this change after the installation of these components.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With