aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/android
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2019-12-23 16:13:23 +0200
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-02-07 18:21:30 +0000
commitf46099d21e518c15979dfeb4c3a0d1fee1880095 (patch)
tree8c45048a8d3519b6c3bbc0ac0c07a6f6a08145ad /share/qtcreator/android
parent8bef0c91551a32a2f042b1834cb309c2b313b3ed (diff)
Android: Automatically download SDK tools and essential packages
Automatically download Android SDK Tools to default path used by Android Studio, then essential packages will be installed using the sdkmanager tool. Automatic installation can also be triggered by an added button in the settings page. Essentials packages include NDK Bundle and other NDK versions required by previous Qt versions. An sdk_definitions.json file holds download paths for SDK Tools, and other (Qt version <-> essential packages) combinations. [ChangeLog][Android] Automatically download SDK Tools, NDKs and all essential packages for Android builds. Task-number: QTCREATORBUG-23285 Change-Id: I90e7aafecd017d2bdc959e403711d9d440a6bbb2 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'share/qtcreator/android')
-rw-r--r--share/qtcreator/android/sdk_definitions.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/share/qtcreator/android/sdk_definitions.json b/share/qtcreator/android/sdk_definitions.json
new file mode 100644
index 0000000000..106bb3e353
--- /dev/null
+++ b/share/qtcreator/android/sdk_definitions.json
@@ -0,0 +1,25 @@
+{
+ "common": {
+ "sdk_tools_url": {
+ "linux": "https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip",
+ "linux_sha256": "92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9",
+ "windows": "https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip",
+ "windows_sha256": "7e81d69c303e47a4f0e748a6352d85cd0c8fd90a5a95ae4e076b5e5f960d3c7a",
+ "mac": "https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip",
+ "mac_sha256": "ecb29358bc0f13d7c2fa0f9290135a5b608e38434aad9bf7067d0252c160853e"
+ },
+ "sdk_essential_packages": ["platform-tools", "platforms;android-29"]
+ },
+ "specific_qt_versions": [
+ {
+ "versions": ["default"],
+ "sdk_essential_packages": ["build-tools;29.0.2", "ndk-bundle"],
+ "ndk_path": "ndk-bundle"
+ },
+ {
+ "versions": ["5.12.[0-5]", "5.13.[0-1]"],
+ "sdk_essential_packages": ["build-tools;28.0.2", "ndk;19.2.5345600"],
+ "ndk_path": "ndk/19.2.5345600"
+ }
+ ]
+}