Fix api examples not running on android (#100140)

This commit is contained in:
Daniel Agbemava
2022-03-18 16:20:23 +00:00
committed by GitHub
parent 136ff6dad6
commit a80bad4337
5 changed files with 47 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ android {
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
}
buildTypes {
@@ -68,5 +69,9 @@ flutter {
}
dependencies {
def multidex_version = "2.0.1"
implementation "androidx.multidex:multidex:$multidex_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
implementation 'com.google.android.material:material:1.5.0'
}