Update Android dependencies (#195)
* Use latest stable versions of Android dependencies * Fix link to Android command line tools
This commit is contained in:
parent
49718082b2
commit
6a01707630
|
|
@ -37,7 +37,7 @@ variable "disk_free_mb" {
|
||||||
|
|
||||||
variable "android_sdk_tools_version" {
|
variable "android_sdk_tools_version" {
|
||||||
type = string
|
type = string
|
||||||
default = "11076708" # https://developer.android.com/studio/#command-tools
|
default = "11076708" # https://developer.android.com/studio#command-line-tools-only
|
||||||
}
|
}
|
||||||
|
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
|
|
@ -112,7 +112,7 @@ build {
|
||||||
"rm android-sdk-tools.zip",
|
"rm android-sdk-tools.zip",
|
||||||
"mv $ANDROID_HOME/cmdline-tools/cmdline-tools $ANDROID_HOME/cmdline-tools/latest",
|
"mv $ANDROID_HOME/cmdline-tools/cmdline-tools $ANDROID_HOME/cmdline-tools/latest",
|
||||||
"yes | sdkmanager --licenses",
|
"yes | sdkmanager --licenses",
|
||||||
"yes | sdkmanager 'platform-tools' 'platforms;android-33' 'build-tools;34.0.0' 'ndk;25.2.9519653'"
|
"yes | sdkmanager 'platform-tools' 'platforms;android-35' 'build-tools;35.0.0' 'ndk;27.2.12479018'"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue