mirror of https://github.com/YTVanced/VancedMicroG
Fix legacy multidex support
This commit is contained in:
parent
964555691e
commit
ab69fa1ee0
|
@ -78,6 +78,7 @@ android {
|
||||||
targetSdkVersion androidTargetSdk
|
targetSdkVersion androidTargetSdk
|
||||||
|
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
multiDexKeepProguard file('multidex-keep.pro')
|
||||||
|
|
||||||
ndk {
|
ndk {
|
||||||
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
|
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
|
||||||
|
|
|
@ -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.** { *; }
|
|
@ -108,6 +108,7 @@
|
||||||
tools:ignore="ProtectedPermissions" />
|
tools:ignore="ProtectedPermissions" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
|
android:name="androidx.multidex.MultiDexApplication"
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
android:extractNativeLibs="false"
|
android:extractNativeLibs="false"
|
||||||
android:icon="@mipmap/ic_core_service_app"
|
android:icon="@mipmap/ic_core_service_app"
|
||||||
|
|
Loading…
Reference in New Issue