cordova-android/spec
Norman Breau 16a88ec631
fix: ANDROID_SDK_ROOT variable (#951)
This commit does the following:
- Makes ANDROID_SDK_ROOT the primary variable to look for the Android SDK location.
- Makes ANDROID_HOME the fallback variable, if ANDROID_SDK_ROOT is not present/valid.

Gradle updates:
Note that the following gradle updates were required, otherwise the android gradle plugin did not honour the ANDROID_SDK_ROOT variable.

- Updates the framework's android studio's gradle plugin from version 3.3.0 to 3.5.3.
	Not only this is required for android's gradle to obey ANDROID_SDK_ROOT, it is now in sync with the Android test project/
- Updates the Androidx test project to use gralde plugin from version 3.3.0 to 3.5.3, to match Android Test & framework.
	- Consequentially, this required to also upgrade AndroidX test project to use Gradle 6.1, which also matches both the Android test project & framework

These changes above fixes #949

Additionally, since we update the environment variables dynamically, the environment variable printout produced misleading information.
The environment variable printout will now print out the variable as defined by the user (before the tooling messes with them). An additional log
is printed that tells the user exactly what Cordova is going to use for the Android SDK path. This should fix #670
2020-04-15 23:43:17 -03:00
..
e2e chore(eslint): bump package & apply eslint fix (#955) 2020-04-15 12:36:40 +09:00
fixtures Increased default target sdk to 29 (#848) 2020-01-07 11:47:27 -04:00
unit fix: ANDROID_SDK_ROOT variable (#951) 2020-04-15 23:43:17 -03:00
coverage.json test: use verbose spec reporter (#778) 2019-07-14 15:36:46 -04:00
helper.js test: use verbose spec reporter (#778) 2019-07-14 15:36:46 -04:00