解决 安卓地图闪退问题

hmxc
张萌 4 years ago
parent 3039c6c208
commit 1bc4cf982f

@ -78,9 +78,15 @@ android {
signingConfig signingConfigs.release
}
debug {
minifyEnabled true
useProguard true
multiDexEnabled true
signingConfig signingConfigs.release
}
profile{
minifyEnabled true
useProguard true
multiDexEnabled true
signingConfig signingConfigs.release
}
}

@ -0,0 +1,18 @@
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-dontwarn io.flutter.embedding.**
## AMap 3D Map
-keep class com.amap.api.maps.**{*;}
-keep class com.autonavi.**{*;}
-keep class com.amap.api.trace.**{*;}
## AMap Location
-keep class com.amap.api.location.**{*;}
-keep class com.amap.api.fence.**{*;}
-keep class com.autonavi.aps.amapapi.model.**{*;}
Loading…
Cancel
Save