D
Deleted User
Guest
If like me, you use a Linux O/S such as Ubuntu (very wise choice
you may encounter problems upgrading Android Studio.
I've been struggling for a while to update, because it insisted on stashing all the downloaded images into /tmp (usually on the root filesystem of a Linux O/S). And in my case it was demanding Gigabytes of free space, which I didn't have.
Finally learned a trick to get AS to dump stuff in a different place, preferably a partition with many GBs of free space. Note that this didn't work with previous versions of AS, but with 2.3 it does work.
Simple answer is to export this env variable
export _JAVA_OPTIONS=-Djava.io.tmpdir=/var/tmp
See here for the description and solution -
https://www.redips.net/linux/android-studio-no-space-left-on-device/
you may encounter problems upgrading Android Studio.I've been struggling for a while to update, because it insisted on stashing all the downloaded images into /tmp (usually on the root filesystem of a Linux O/S). And in my case it was demanding Gigabytes of free space, which I didn't have.
Finally learned a trick to get AS to dump stuff in a different place, preferably a partition with many GBs of free space. Note that this didn't work with previous versions of AS, but with 2.3 it does work.
Simple answer is to export this env variable
export _JAVA_OPTIONS=-Djava.io.tmpdir=/var/tmp
See here for the description and solution -
https://www.redips.net/linux/android-studio-no-space-left-on-device/