android - 使用谷歌播放的应用签名上传 Android APK 失败
问题描述
我想将一个新应用上传到开发控制台并选择通过 google play 启用应用签名。我通常通过以下 gradle 配置签署我的应用程序并毫无问题地上传
release {
storeFile file("C:\\android_keystore.jks")
storePassword "pass"
keyAlias "my_key"
keyPassword "pass"
}
但是现在我遇到了一个错误,并且对我现在应该用我的钥匙做什么感到困惑。我已经在使用相同密钥签名的商店中有一个应用程序。但我最近才为此生成并上传了加密的私钥
You uploaded an APK or Android App Bundle that is signed with a key that is also used to sign APKs that are delivered to users. Because you are enrolled in app signing by Google Play, you should sign your APK or Android App Bundle with a new key before you upload it.
解决方案
这是以前用于 app sining 的相同密钥吗?从 Playstore 开始,需要相同的密钥来签署要上传的应用程序。
推荐阅读
- java - 在 javafx 中更新井字游戏的 UI
- reactjs - React-Bootsrap 导航栏下拉菜单未关闭
- vim - 从 vim 复制时忽略新行
- typescript - 类型 '() => number' 不可分配给类型 'number'
- java - Netbeans 11.3 未安装 - java.lang.noClassDefFoundError - pack200
- python - Redis 共享资源 - 两个或多个 python 脚本更新相同的哈希但不同的键,会发生什么?
- javascript - 添加一个新的 Ionic 页面
- r - R ggplot 更改轴的标签而不更改比例
- javascript - React中如何调用函数中的函数(认证、路由)
- neo4j - 如何使用 py2neo 读取 csv 文件在 neo4j 中创建不同的关系?