/tmp directory in Linux Android SDK

前端 未结 15 2316
醉话见心
醉话见心 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:57

    I fought with the "no space left on device" problem for almost a week. (I will not be beaten!) I tried everything I found here and on other sites and the problem continued. I finally got Android studio completely installed and working correctly using the following approach:

    1. I created a folder named PackageOperation01 on a partition with 100G space.
    2. I went to the tmp directory and removed everything I felt was safe to remove, including PackageOperation01 folder.
    3. In the tmp directory I created a link pointing to the new PackageOperation01 folder I had created.
    4. I named the link PackageOperation01. This allowed me to install ALMOST everything.

    I still had two errors (.."no space..."). Going back to the tmp directory I found my link to PackageOperation01 had been removed by the installer and a new directory named PackageOperation07 had been created.

    1. I removed PackageOperation07 from tmp and created a new folder named PackageOperation07 on my large partition beside PackageOperation01.
    2. I recreated the link to my PackageOperation01 folder and created a new link to the PackageOperation07 folder.

    This time Android Studio installed with no errors.

提交回复
热议问题