diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 6cf187b..77dd3e4 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -55,9 +55,6 @@ android { ndk { abiFilters.clear() abiFilters += "arm64-v8a" - abiFilters += "armeabi-v7a" - abiFilters += "x86" - abiFilters += "x86_64" // 或者:abiFilters.add("arm64-v8a") } diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index babebba..22a0190 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -4,4 +4,25 @@ -keep class io.flutter.util.** { *; } -keep class io.flutter.view.** { *; } -keep class io.flutter.** { *; } --keep class io.flutter.plugins.** { *; } \ No newline at end of file +-keep class io.flutter.plugins.** { *; } +-dontwarn com.google.android.play.core.splitcompat.SplitCompatApplication +-dontwarn com.google.android.play.core.splitinstall.SplitInstallException +-dontwarn com.google.android.play.core.splitinstall.SplitInstallManager +-dontwarn com.google.android.play.core.splitinstall.SplitInstallManagerFactory +-dontwarn com.google.android.play.core.splitinstall.SplitInstallRequest$Builder +-dontwarn com.google.android.play.core.splitinstall.SplitInstallRequest +-dontwarn com.google.android.play.core.splitinstall.SplitInstallSessionState +-dontwarn com.google.android.play.core.splitinstall.SplitInstallStateUpdatedListener +-dontwarn com.google.android.play.core.tasks.OnFailureListener +-dontwarn com.google.android.play.core.tasks.OnSuccessListener +-dontwarn com.google.android.play.core.tasks.Task +-dontwarn com.heytap.msp.push.HeytapPushManager +-dontwarn com.heytap.msp.push.callback.ICallBackResultService +-dontwarn com.meizu.cloud.pushsdk.PushManager +-dontwarn com.meizu.cloud.pushsdk.util.MzSystemUtils +-dontwarn com.vivo.push.IPushActionListener +-dontwarn com.vivo.push.PushClient +-dontwarn com.vivo.push.PushConfig$Builder +-dontwarn com.vivo.push.PushConfig +-dontwarn com.vivo.push.util.VivoPushException +-dontwarn com.xiaomi.mipush.sdk.MiPushClient \ No newline at end of file