[js/rn] set minSdkVersion to 21 for ORT-RN Android (#11403)

This commit is contained in:
Yulong Wang 2022-05-02 19:36:41 -07:00 committed by GitHub
parent 5023f6750b
commit d306e00351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,7 @@ android {
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
buildToolsVersion getExtOrDefault('buildToolsVersion')
defaultConfig {
minSdkVersion 24
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
versionCode 1
versionName "1.0"

View file

@ -15,4 +15,5 @@ android.enableJetifier=true
android.useAndroidX=true
OnnxruntimeModule_buildToolsVersion=29.0.2
OnnxruntimeModule_compileSdkVersion=29
OnnxruntimeModule_minSdkVersion=21
OnnxruntimeModule_targetSdkVersion=29

View file

@ -3,7 +3,7 @@
buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 24
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
}