Solving No space left on device on linux error free more than 2Go of disk space on my ubuntu linux without losing anything permanently .
Last time i was trying to run my android studio project and then, i saw lot of red message with this :
... Caused by: java.io.IOException: No space left on device on linux...
Obviously , it’s because my disk is almost full. There is a lot of ways to make space in disk but the one i used , free more than 2Go of space.
In the next section, i will show you how i solve No space left on device on linux problem on my linux.
Caused by: java.io.IOException: No space left on device on linux
To solve this problem i only empty tmp files who were full of android studio’s files. Here terminal’s command to empty tmp file :
Change $user by your home user file
sudo rm -r tmp/
sudo mkdir tmp
Technically, i delete tmp file and recreate it to make sure that everything is purged.
That’s all i had to do to make space on my linux and solve the issue and i make lot free space with this.
There lot more solutions but you should never forget to check your tmp files first.
Happy coding !