Fix legacy multidex support

This commit is contained in:
Marvin W 2020-07-29 22:13:53 +02:00
parent 964555691e
commit ab69fa1ee0
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A
3 changed files with 7 additions and 0 deletions

View File

@ -78,6 +78,7 @@ android {
targetSdkVersion androidTargetSdk
multiDexEnabled true
multiDexKeepProguard file('multidex-keep.pro')
ndk {
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64"

View File

@ -0,0 +1,5 @@
# Make sure maps is in primary dex file
-keep class com.google.android.gms.maps.** { *; }
-keep class org.microg.gms.maps.** { *; }
-keep class com.mapbox.** { *; }
-keep class org.oscim.** { *; }

View File

@ -108,6 +108,7 @@
tools:ignore="ProtectedPermissions" />
<application
android:name="androidx.multidex.MultiDexApplication"
android:allowBackup="false"
android:extractNativeLibs="false"
android:icon="@mipmap/ic_core_service_app"