Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANDROID_HOME??? #115

Open
weichou opened this issue Feb 9, 2016 · 3 comments
Open

ANDROID_HOME??? #115

weichou opened this issue Feb 9, 2016 · 3 comments

Comments

@weichou
Copy link

weichou commented Feb 9, 2016

[error] set the env variable ANDROID_HOME pointing to your Android SDK
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

but i both setted ANDROID_HOME and ANDROID_SDK_HOME, and echo $ANDROID_HOME works good.
How to fix this error?

@aafa
Copy link

aafa commented Mar 30, 2016

+1 I've noticed this as well.

Having sdk.dir= in local.properties can handle this issue, but weirdly I just came across other project where this trick doesn't work... I'm very confused.
Needles to say that sbt console works perfectly well ether way.

@aafa
Copy link

aafa commented Mar 30, 2016

@weichou Ok, I think I got it. I assume you are on mac os.
In this case the solution is simple - IDEA doesn't read on exported paths, to pass it variable you should run launchctl setenv ANDROID_HOME $ANDROID_HOME before running IDEA.

@omainegra
Copy link

+1 Notice this too, thanks @weichou for the workaround in Mac OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants