首页 > 解决方案 > 解析oreo中的apk时出错

问题描述

在 oreo 设备中安装 Build APK 时出现错误。它可以与除奥利奥以外的其他设备一起正常工作。请帮我。

错误

解析包时出现问题

这是我的 Gradle

compileSdkVersion 27
        dataBinding.enabled = true;
        defaultConfig {

            applicationId "com.xxxxxxxxx"
            minSdkVersion 16
            targetSdkVersion 27
            versionCode 1
            versionName "1.0"
            multiDexEnabled true
            testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
            vectorDrawables.useSupportLibrary = true

        }
        buildTypes {
            release {
                postprocessing {
                    removeUnusedCode false
                    removeUnusedResources false
                    obfuscate false
                    optimizeCode false
                    proguardFile 'proguard-rules.pro'
                }
            }
        }
    }

标签: androidapkandroid-8.1-oreoparsing-error

解决方案


推荐阅读