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

Nag when ANDROID_HOME is undefined #31

Open
jsotuyod opened this issue Jan 4, 2019 · 0 comments
Open

Nag when ANDROID_HOME is undefined #31

jsotuyod opened this issue Jan 4, 2019 · 0 comments

Comments

@jsotuyod
Copy link
Member

jsotuyod commented Jan 4, 2019

Since the last changes to support newer AGP versions, we use the ANDROID_HOME env var

/**
* Retrieves the current Android SDK install location
* @return The current Android SDK install location
*/
static String getSdkDir() {
System.getenv('ANDROID_HOME')
}

We should complain to the user if we find this to be undefined / invalid

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

1 participant