Skip to content

Commit 028027e

Browse files
[various] Remove multiDexEnabled (flutter#7956)
We had manually added `multiDexEnabled` to various plugin example apps over time to fix build failures, but it's not needed for plugins with a `minSdk` of 20+ ([reference](https://developer.android.com/build/multidex)), and Flutter (and thus all of our plugins) requires 21+, so the setting is just cruft.
1 parent 85c4934 commit 028027e

File tree

10 files changed

+0
-10
lines changed

10 files changed

+0
-10
lines changed

packages/espresso/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ android {
3636
versionCode flutterVersionCode.toInteger()
3737
versionName flutterVersionName
3838
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
39-
multiDexEnabled true
4039
}
4140

4241
buildTypes {

packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ android {
3232
applicationId "io.flutter.plugins.googlemapsexample"
3333
minSdkVersion 20
3434
targetSdkVersion 28
35-
multiDexEnabled true
3635
versionCode flutterVersionCode.toInteger()
3736
versionName flutterVersionName
3837
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

packages/google_maps_flutter/google_maps_flutter_android/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ android {
3333
applicationId "io.flutter.plugins.googlemapsexample"
3434
minSdkVersion flutter.minSdkVersion
3535
targetSdkVersion 34
36-
multiDexEnabled true
3736
versionCode flutterVersionCode.toInteger()
3837
versionName flutterVersionName
3938
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

packages/google_sign_in/google_sign_in/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ android {
3333
applicationId "io.flutter.plugins.googlesigninexample"
3434
minSdkVersion flutter.minSdkVersion
3535
targetSdkVersion 28
36-
multiDexEnabled true
3736
versionCode flutterVersionCode.toInteger()
3837
versionName flutterVersionName
3938
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

packages/google_sign_in/google_sign_in_android/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ android {
3333
applicationId "io.flutter.plugins.googlesigninexample"
3434
minSdkVersion flutter.minSdkVersion
3535
targetSdkVersion 34
36-
multiDexEnabled true
3736
versionCode flutterVersionCode.toInteger()
3837
versionName flutterVersionName
3938
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

packages/image_picker/image_picker/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ android {
3434
applicationId "io.flutter.plugins.imagepicker.example"
3535
minSdkVersion flutter.minSdkVersion
3636
targetSdkVersion 28
37-
multiDexEnabled true
3837
versionCode flutterVersionCode.toInteger()
3938
versionName flutterVersionName
4039
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

packages/image_picker/image_picker_android/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ android {
3434
applicationId "io.flutter.plugins.imagepicker.example"
3535
minSdkVersion flutter.minSdkVersion
3636
targetSdkVersion 34
37-
multiDexEnabled true
3837
versionCode flutterVersionCode.toInteger()
3938
versionName flutterVersionName
4039
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

packages/interactive_media_ads/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ android {
4444
applicationId "dev.flutter.packages.interactive_media_ads_example"
4545
minSdk flutter.minSdkVersion
4646
targetSdk flutter.targetSdkVersion
47-
multiDexEnabled true
4847
versionCode flutterVersionCode.toInteger()
4948
versionName flutterVersionName
5049
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

packages/local_auth/local_auth/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ android {
3636
versionCode flutterVersionCode.toInteger()
3737
versionName flutterVersionName
3838
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
39-
multiDexEnabled true
4039
}
4140

4241
buildTypes {

packages/local_auth/local_auth_android/example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ android {
3636
versionCode flutterVersionCode.toInteger()
3737
versionName flutterVersionName
3838
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
39-
multiDexEnabled true
4039
}
4140

4241
buildTypes {

0 commit comments

Comments
 (0)