Just to tinker with it, last night I installed the Android Studio/SDK, and both during install and use, it repeatedly blew my 2Gb /tmp partition. Is there any way to tell t
Did a little poking around in the code. The solution is to to start the JVM with a command-line argument that overrides the default tmpdir path:
-Djava.io.tmpdir=whatever
There may be more subtle ways to do it but all I did was edit .../android-studio/bin/studio.sh to replace
VM_OPTIONS=""
with
VM_OPTIONS="-Djava.io.tmpdir=/mnt/disk5/android/tmp"