You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/04/11 09:09:32 UTC
[GitHub] [cordova-android] zdm opened a new issue #949: ANDROID_HOME is
deprecated
zdm opened a new issue #949: ANDROID_HOME is deprecated
URL: https://github.com/apache/cordova-android/issues/949
# Feature Request
## Motivation Behind Feature
Keep environment clean
## Feature Description
ANDROID_HOME is deprecated and replaced with ANDROID_SDK_ROOT by android SDK.
It would be nice, if cordova also support ANDROID_SDK_ROOT variable to make it consistent with the SDK.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-android] breautek commented on issue #949: ANDROID_HOME is
deprecated
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #949: ANDROID_HOME is deprecated
URL: https://github.com/apache/cordova-android/issues/949#issuecomment-612547666
I've actually reproduced this as well... the tooling prints out that `ANDROID_SDK_ROOT` is recommended but it definitely does not use it properly.. even on `9.0.0-dev`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-android] zdm commented on issue #949: ANDROID_HOME is
deprecated
Posted by GitBox <gi...@apache.org>.
zdm commented on issue #949: ANDROID_HOME is deprecated
URL: https://github.com/apache/cordova-android/issues/949#issuecomment-612375890
https://developer.android.com/studio/command-line/variables
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-android] breautek closed issue #949: ANDROID_HOME is
deprecated
Posted by GitBox <gi...@apache.org>.
breautek closed issue #949: ANDROID_HOME is deprecated
URL: https://github.com/apache/cordova-android/issues/949
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-android] breautek commented on issue #949: ANDROID_HOME is
deprecated
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #949: ANDROID_HOME is deprecated
URL: https://github.com/apache/cordova-android/issues/949#issuecomment-612542236
cordova-android does support `ANDROID_SDK_ROOT`, however if you have `ANDROID_HOME` also defined, I think it current takes precedence... not 100% sure. If that is the case though, I think `ANDROID_SDK_ROOT` should be the dominant environment variable, falling back to the deprecated variable.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-android] breautek edited a comment on issue #949:
ANDROID_HOME is deprecated
Posted by GitBox <gi...@apache.org>.
breautek edited a comment on issue #949: ANDROID_HOME is deprecated
URL: https://github.com/apache/cordova-android/issues/949#issuecomment-612542236
cordova-android does support `ANDROID_SDK_ROOT`, however if you have `ANDROID_HOME` also defined, I think the deprecated variable currently takes precedence... not 100% sure. If that is the case though, I think `ANDROID_SDK_ROOT` should be the dominant environment variable, falling back to the deprecated variable.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-android] zdm commented on issue #949: ANDROID_HOME is
deprecated
Posted by GitBox <gi...@apache.org>.
zdm commented on issue #949: ANDROID_HOME is deprecated
URL: https://github.com/apache/cordova-android/issues/949#issuecomment-612543270
I am unable to build on android platform if ANDROID_SDK_ROOT is set but ANDROID_HOME is NOT set.
```
d:\gdrive\projects\workspace\smartcnc-app>cordova build android
Failed to find 'ANDROID_HOME' environment variable. Try setting it manually.
Detected 'avdmanager' command at d:\devel\android\cmdline-tools\latest\bin but no 'tools\bin' directory found near.
Try reinstall Android SDK or update your PATH to include valid path to SDK\tools\bin directory.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org