Android tools takes up too much space (solved)



  • Hi,

    I managed to get an android install set up on my Nexus 5, but now df is telling me that there is no space left on /. Doing

    sudo du -skh / | sort -r -h | head -n 10
    

    prints

    2.0G    userdata
    1.4G    usr
    768M    home
    410M    var
    146M    android
    35M     lib
    7.5M    sbin
    7.3M    etc
    6.9M    bin
    1.9M    run
    

    Not sure if there's anything that can be done about this without removing the android install. Is this going to be a problem?



  • @budrz
    I don't understand.
    If by "android install" you mean anbox then yes it takes some space and as all experimental tools use it at your own risk.



  • By 'android install' I mean

    $ sudo apt install anbox-ubuntu-touch
    

    followed by

    $ anbox-tool install
    

    I am noticing that the space problem doesn't seem to affect my ability to install UT apps despite the space issue. I don't understand how that is since it's sharing the same space. Is the data somehow partitioned or is a container where it won't affect my UT space?



  • @budrz said in Android tools takes up too much space:

    Is the data somehow partitioned or is a container where it won't affect my UT space?

    Yes. The rootfs is a readonly loopback image, which has a set size. UT apps (click packages) are installed elsewhere, and Libertine is a container under the home directory, as is the anbox image.



  • @dobey I see. Thanks for clarifying!

    I was worried that I ran out of space to do anything.



  • FYI for those that are having the same issue with 'not enough free space', see this post.


Log in to reply