diff --git a/js/react_native/android/gradle.properties b/js/react_native/android/gradle.properties index 8bafc1a5accc..a3f04062d1f2 100644 --- a/js/react_native/android/gradle.properties +++ b/js/react_native/android/gradle.properties @@ -15,5 +15,5 @@ android.enableJetifier=true android.useAndroidX=true OnnxruntimeModule_buildToolsVersion=34.0.0 OnnxruntimeModule_compileSdkVersion=33 -OnnxruntimeModule_minSdkVersion=29 +OnnxruntimeModule_minSdkVersion=21 OnnxruntimeModule_targetSdkVersion=33 diff --git a/tools/ci_build/github/azure-pipelines/templates/android-binary-size-check-stage.yml b/tools/ci_build/github/azure-pipelines/templates/android-binary-size-check-stage.yml index d6cd41cb5336..acce2a4098ed 100644 --- a/tools/ci_build/github/azure-pipelines/templates/android-binary-size-check-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/android-binary-size-check-stage.yml @@ -37,13 +37,6 @@ stages: clean: true submodules: none - - task: JavaToolInstaller@0 - displayName: Use jdk 17 - inputs: - versionSpec: '17' - jdkArchitectureOption: 'x64' - jdkSourceOption: 'PreInstalled' - - template: use-android-ndk.yml #TODO: use a different docker file since this job doesn't need to rely on manylinux - template: get-docker-image-steps.yml