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?

  • your blog comment says you're running maverick kde, but the question says you're running 12.10. which is it? Oct 20 '12 at 23:20
  • :). I just installed. Oct 21 '12 at 0:42

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

  • 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 Oct 21 '12 at 2:26
  • 1
    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 Oct 21 '12 at 2:48

Do what it says and run


in the terminal

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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