Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Ubuntu 12.10 and I tried to follow this guide Install android sdk and eclipse in Ubuntu 12.04 but I keep getting this error:

 Error: The AVD manager normally uses the user's profile directory to store AVD files. However it failed to find the default profile directory. To fix this, please set the environment variable ANDROID_SDK_HOME to a valid path such as ¨~¨.

Any ideas how can I fix this?

share|improve this question

migrated from Oct 20 '12 at 22:53

This question came from our site for professional programmers interested in conceptual questions about software development.

your blog comment says you're running maverick kde, but the question says you're running 12.10. which is it? – RobotHumans Oct 20 '12 at 23:20
:). I just installed. – Theo Oliveira Oct 21 '12 at 0:42
up vote 1 down vote accepted

You have to export the variable ANDROID_SDK_HOME to the path where your Android SDK is: example:

share|improve this answer
Well, I suppose it´s like this? ´ export ANDROID_SDK_HOME=${PATH}:/home/theo/android-sdk-linux/´ It didn´t work but I assume it´s wrong – Theo Oliveira Oct 21 '12 at 2:26
Thanks both. I figure it out :P I was putting the PATHS on bash_profile instead of bashrc and also putting export and path on the last one. It´ś working thanks Hanynowsky and @Kyle Macey – Theo Oliveira Oct 21 '12 at 2:48

Do what it says and run


in the terminal

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.