小编i k*_*han的帖子

debug-apk 工作正常,但在主要活动中签署 apk 发布崩溃

调试 apk 运行良好,但发布签名的 apk 在主要活动中崩溃。我已经检查了所有内容,但我不知道问题出在哪里。[build.gradle][1]

   android {
        compileSdkVersion 28
        defaultConfig {
            applicationId "com.newtrendsdeveloper.unorthodox"
            minSdkVersion 19
            targetSdkVersion 28
            versionCode 51
            versionName "4.0"
            testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
            vectorDrawables.useSupportLibrary = true
        }
        buildTypes {
            release {
                minifyEnabled true
                shrinkResources true
                proguardFiles 'proguard-rules.pro'
            }
            debug {}
        }

    flavorDimensions "color"
    productFlavors {
        blue {}
        green {
            applicationIdSuffix ".test"
            versionNameSuffix "\"4.0-Microsoft Windows [Version 10.0.17134.407]\n" +
                    "      (c) 2018 Microsoft Corporation. All rights reserved.\n" +
                    "      \n" +
                    "      C:\\Users\\HP\\Downloads\\Tusky-master\\Tusky-master\\app>\";" + getGitSha()
        }
    }

    lintOptions {
        disable 'MissingTranslation'
    } …
Run Code Online (Sandbox Code Playgroud)

debugging android apk android-studio

4
推荐指数
1
解决办法
1390
查看次数

标签 统计

android ×1

android-studio ×1

apk ×1

debugging ×1