cordova-android/framework
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
..
.settings Fix NPE when POLLING bridge mode is used. 2014-02-18 22:11:38 -05:00
gradle/wrapper Updates for latest gradle/build tools 2018-11-20 21:12:59 -08:00
src/org/apache/cordova Prevent exit fullscreen mode from closing application (#823) 2020-04-14 18:48:06 +00:00
.classpath refactor: remove shelljs dependency (#842) 2020-01-29 10:12:55 +09:00
AndroidManifest.xml Improve Gradle Build Arguments (#699) 2019-04-06 13:28:25 +09:00
ant.properties CB-3: Apache source headers in callback-android 2012-02-23 11:36:08 -05:00
build.gradle feat: com.android.tools.build:gradle:3.5.3 (#960) 2020-04-15 23:42:15 -03:00
build.xml CB-5490: add javadoc target to ant script 2013-11-26 13:06:28 -05:00
cordova.gradle fix: ANDROID_SDK_ROOT variable (#951) 2020-04-15 23:43:17 -03:00
default.properties Changing all tabs to spaces 2012-06-05 09:49:50 -04:00
project.properties Increased default target sdk to 29 (#848) 2020-01-07 11:47:27 -04:00