mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Update android_min_sdk_version/android_target_sdk_version (#23369)
Update android_min_sdk_version to 24 and android_target_sdk_version to 34. Previously Jian already updated the values for some pipelines. This PR updates the other occurrences to make things consistent Why android_min_sdk_version is set to 24: Because React Native requires so: https://github.com/react-native-community/discussions-and-proposals/discussions/802 Why android_target_sdk_version is set to 34: Because according to Google Play's policy, new apps and app updates must target Android 14 (API level 34) to be submitted to Google Play. https://support.google.com/googleplay/android-developer/answer/11926878?hl=en
This commit is contained in:
parent
1d97d6ef55
commit
82aa355904
5 changed files with 12 additions and 12 deletions
|
|
@ -14,6 +14,6 @@ org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF
|
|||
android.enableJetifier=true
|
||||
android.useAndroidX=true
|
||||
OnnxruntimeModule_buildToolsVersion=29.0.2
|
||||
OnnxruntimeModule_compileSdkVersion=31
|
||||
OnnxruntimeModule_minSdkVersion=21
|
||||
OnnxruntimeModule_targetSdkVersion=31
|
||||
OnnxruntimeModule_compileSdkVersion=34
|
||||
OnnxruntimeModule_minSdkVersion=24
|
||||
OnnxruntimeModule_targetSdkVersion=34
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
buildscript {
|
||||
ext {
|
||||
buildToolsVersion = "29.0.2"
|
||||
minSdkVersion = 21
|
||||
compileSdkVersion = 31
|
||||
targetSdkVersion = 31
|
||||
minSdkVersion = 24
|
||||
compileSdkVersion = 34
|
||||
targetSdkVersion = 34
|
||||
kotlinVersion = "1.5.30"
|
||||
}
|
||||
repositories {
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
"build_abis": [
|
||||
"arm64-v8a"
|
||||
],
|
||||
"android_min_sdk_version": 21,
|
||||
"android_target_sdk_version": 24,
|
||||
"android_min_sdk_version": 24,
|
||||
"android_target_sdk_version": 34,
|
||||
"build_params": [
|
||||
"--enable_lto",
|
||||
"--android",
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
"x86",
|
||||
"x86_64"
|
||||
],
|
||||
"android_min_sdk_version": 21,
|
||||
"android_target_sdk_version": 24,
|
||||
"android_min_sdk_version": 24,
|
||||
"android_target_sdk_version": 34,
|
||||
"build_params": [
|
||||
"--enable_lto",
|
||||
"--android",
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
"build_abis": [
|
||||
"x86_64"
|
||||
],
|
||||
"android_min_sdk_version": 21,
|
||||
"android_target_sdk_version": 24,
|
||||
"android_min_sdk_version": 24,
|
||||
"android_target_sdk_version": 34,
|
||||
"build_params": [
|
||||
"--android",
|
||||
"--parallel",
|
||||
|
|
|
|||
Loading…
Reference in a new issue