/tmp directory in Linux Android SDK

前端 未结 15 2325
醉话见心
醉话见心 2020-12-28 15:00

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

15条回答
  •  遥遥无期
    2020-12-28 15:31

    Setting -Djava.io.tmpdir=whatever didn't work for me. I simply created $HOME/tmp/PackageOperation04 and then created a symlink from /tmp.

    cd ~
    mkdir -p tmp/PackageOperation04
    cd /tmp
    ln -s $HOME/tmp/PackageOperation04
    

    This way the Android SDK uses my /home partition instead of /tmp for this.

提交回复
热议问题