cordova-docs icon indicating copy to clipboard operation
cordova-docs copied to clipboard

Improve documentation of ANDROID_SDK_ROOT & ANDROID_HOME

Open brody4hire opened this issue 5 years ago • 4 comments

I think this is not so intuitive, see https://github.com/apache/cordova-android/issues/922

I do think we could have solved it with only one of these environment variables defined but wanted to get the user's issue resolved asap.

Maybe should be done as part of the project in #1057.

brody4hire avatar Feb 28 '20 18:02 brody4hire

ANDROID_SDK_ROOT seems to be the correct one currently, ANDROID_HOME seems to have been deprecated.

bkmgit avatar Apr 03 '20 14:04 bkmgit

The current dev docs removed usages of ANDROID_HOME and uses ANDROID_SDK_ROOT instead. I think this issue is satisfied? If not, we should document what specifically needs to be improved.

breautek avatar Aug 05 '20 12:08 breautek

Any chance you can please include a link to those specific docs thanks. I'm not sure on the actual official docs. Sorry I'm a bit new to this.

shawnurquhart avatar Aug 07 '20 10:08 shawnurquhart

Any chance you can please include a link to those specific docs thanks. I'm not sure on the actual official docs. Sorry I'm a bit new to this.

The changes are not live (they will be with the docs for 10.x cordova cli is released), but you can view it the latest unreleased docs at https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/guide/platforms/android/index.md#setting-environment-variables

breautek avatar Aug 07 '20 14:08 breautek