android-studio - Android Studio 不会生成签名的 aab

标签 android-studio gradle android-build android-app-bundle android-signing

在 Android Studio 中,我选择了 build-> Generate Signed Bundle/APK并成功创建了aab文件。当我尝试上传到 Play 商店时,它告诉我我的目标 api 版本设置为 28,并且必须至少为 29。所以我通过替换 targetSdkVersion = 28 将其更改为 build.gradle 中的目标 29。与 targetSdkVersion = 29 .然后我删除了生成的 aab 文件、jks 文件和 private_key.pepk 文件,并尝试运行 Generate Signed Bundle/APK再次,除了没有任何反应。不会产生错误消息。我按 finish没有任何反应。我试过改回 build.gradle 设置,但我无法生成签名的 bundle 和 APK。我该如何解决这个问题?

最佳答案

遇到同样的问题,检查一下

  1. 如果使用之前创建的 KeyStore 和 Key: 检查您是否为之前生成的 keystore 和 key 输入了正确的密码。

  2. 如果问题仍然存在,请为包创建一个新的 KeyStore 和 key 。

关于android-studio - Android Studio 不会生成签名的 aab,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63820628/

相关文章:

android - 模块包含 : not intended for consumption by other components - gradle:3. 0.0-alpha2

android - 如何从 Android Studio 调用 C++ 源代码?

java - 发现多个文件的操作系统独立路径为 'META-INF/groovy-release-info.properties'

c++ - 使用sonar-cxx和gradle对C++代码进行SonarQube分析

gradle installDist : How do I prepend the group id to dependency jar name (clashing due to different group id but same artifact id and version)?

安卓工作室 : Parameter 'directory' is not a directory

Android New Build System, Experimental Plugin, JNI Library Module

android - 系统找不到指定的文件Gradle Android

Android Studio 不显示代码更改并且无法生成最近更改的签名 apk

gradle - 使用 Flyway 恢复上次迁移