Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Though I've tried "export TMPDIR = <other path>", but this problem still exited.
I'd appreciate if anyone give me some trips.
Thank you so much.

---------------------------------------------------------------------------
This happens when I try to create a new Virtual Device for my Android-Studio, where I don't know how to change the default path it downloads to.

What I have tried:

I've change my <other path> several times, but it seems do no help for me.
Posted
Updated 4-May-17 3:54am
v2

1 solution

The message is quite clear:
The partition holding the /tmp directory has no remaining space left.

You won't get the problem fixed by setting TMPDIR to a different path because the directory may be also used by other applications and services that did not use the TMPDIR variable but their own configuration.

If the /tmp directory is not mounted directly to a specific partition but resides below root you will get even more problems.

The only solutions are cleaning up the partition that hosts the directory by deleting unused files or mounting on a different partition with sufficient space.
 
Share this answer
 
Comments
Sar Kerson 4-May-17 10:30am    
But can I change the configuration of the application?
Or how can I mount my /tmp on another partition?
---------------------------------------------------------
I tried to change the configuration by doing: Help -> Edit Custom Property in my Android-Studio, and then, the problem occur when I run my Studio:

sar@Sar:/opt/android-studio/bin$ ./studio.sh
Error: Could not find or load main class =

----------------------------------------------------------------------------
Jochen Arndt 4-May-17 11:05am    
It is a problem of your Ubuntu system and must be fixed there.

Open a shell and type
df -h
Check the available size of /tmp in the above output. If /tmp is not shown, it is not mounted on a partition/volume but part of the root folder ('/'). Then check the available size of that.

Then do what I already suggested: Delete unused files and (when /tmp is part of root) uninstall unused applications.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900