Update SDK versions for automl sample.

PiperOrigin-RevId: 627439927
Change-Id: I80506897f9173de21fa60205e9e582fd22cc5c0f
This commit is contained in:
Google ML Kit 2024-04-23 17:52:59 +00:00 committed by Yi Zhou
parent 52ffef042c
commit 41afbb153d

View File

@ -5,7 +5,7 @@ android {
defaultConfig {
applicationId "com.google.mlkit.vision.automl.demo"
minSdkVersion 19
minSdkVersion 21
multiDexEnabled true
targetSdkVersion 34
// Version code for next release (version 9 is now in Play Store)
@ -56,12 +56,12 @@ repositories {
dependencies {
// Image labeling with AutoML model support
implementation 'com.google.mlkit:image-labeling-custom:17.0.2'
implementation 'com.google.mlkit:image-labeling-custom:17.0.3'
// Or comment the dependency above and uncomment the dependency below to
// use unbundled model that depends on Google Play Services
// implementation 'com.google.android.gms:play-services-mlkit-image-labeling-custom:16.0.0-beta5'
implementation 'com.google.mlkit:object-detection-custom:17.0.1'
implementation 'com.google.mlkit:object-detection-custom:17.0.2'
implementation 'com.google.mlkit:linkfirebase:17.0.0'
implementation 'androidx.multidex:multidex:2.0.1'