小编djl*_*jlj的帖子

Google Play:捆绑包未签名

我正在 Kotlin 中创建应用程序,并且我向 Google 开发者帐户付费。但上传 .aab 文件时出现一些问题:The Android App Bundle was not signed。我阅读了 Stackoverflow 上有关它的所有主题并尝试了所有解决方案。不适合我。 以这个错误结束signingConfig signingConfigs.release:。仅当我设置时它才起作用。我也在用这个:和build.gradleCould not get unknown property 'release' for SigningConfigsigningConfigminifyEnabled falsedebuggable = false。那么我还必须尝试什么?2021年有新的解决方案吗?!

我的构建.gradle:

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'

android {
    compileSdkVersion 31
    buildToolsVersion "30.0.3"

    defaultConfig {
        applicationId '...'
        minSdkVersion 21
        targetSdkVersion 31
        versionCode 1
        versionName "1.00"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        manifestPlaceholders["hostName"] = "..."
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' …
Run Code Online (Sandbox Code Playgroud)

android signed bundle kotlin build.gradle

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

标签 统计

android ×1

build.gradle ×1

bundle ×1

kotlin ×1

signed ×1