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_SDK_ROOT environment variable support #617

Closed
brody4hire opened this issue Jan 16, 2019 · 0 comments
Closed

ANDROID_SDK_ROOT environment variable support #617

brody4hire opened this issue Jan 16, 2019 · 0 comments

Comments

@brody4hire
Copy link

brody4hire commented Jan 16, 2019

As reported by @vtaliar in apache/cordova#68:

According to [1] use of the ANDROID_HOME is deprecated and we should use ANDROID_SDK_ROOT instead.

I would favor a quick fix which would use ANDROID_SDK_ROOT if ANDROID_HOME is not defined or does not point to a valid Android SDK directory, to reflect behavior described in [1].

I would also like to see this fixed before we issue the next major release for Cordova 9 as discussed in apache/cordova#10.

P.S. Current behavior is documented in [2].

[1] https://developer.android.com/studio/command-line/variables
[2] https://cordova.apache.org/docs/en/latest/guide/platforms/android/

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

No branches or pull requests

1 participant