1

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?

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

2 Answers 2

1

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

ANDROID_SDK_HOME=/home/theo/android-sdk/
2
  • 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, 2012 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, 2012 at 2:48
1

Do what it says and run

ANDROID_SDK_HOME=/home/your_username

in the terminal

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .