我想向Google Play发布我的应用程序,但首先我想用已签名的apk进行最后一次测试,以确保所有使用的API密钥与发布版本(GMaps、Facebook等)正常工作

所以我只有made a signed version of my app with our release key,当我try 将应用程序安装到设备i got an error:上时

enter image description here

我已经try 将APK复制到设备和install it with an apk installer app.

奇怪的是当我做同样的过程时

这是steps of the procedure:美元

我 Select release key,输入密码.

Here are the steps of the procedure:

我做select release build type而不是调试

I do select release build type instead of debugging

以防万一,但我必须承认我不知道有没有必要.

Just in case i also defined in the gradle file the signing keys but I must admit i dont know is it necessary.

我try 了7次,所以我假设这个问题是not just a mistyped password,也是I can make this work with the standard debug android signing key.

如果可以的话,请帮忙.

推荐答案

您可能正在使用android 5.0或更高版本的设备.

May be your development version is not uninstalled properly.

试试这个,

只需转到action bar menu处的Settings --> Apps --> Click on your App. ---> In App info页,就会有一个名为" Uninstall for All users "的选项,单击该选项.你的应用程序将被完全卸载,现在你可以try 安装新版本,没有任何问题.希望这能帮助你

NOTE : This is for lollipop and above.个 请参阅附件中的屏幕截图.

Complete Uninstall for Lollipop and Above

Android相关问答推荐

如何自定义所选的NavigationBar项目?

为什么使用. DeliverveAsState()时会出现空指针异常?

KMM项目生成错误-';在项目';中找不到测试类:共享';

如何禁用Android 34+版的TileService,但保留以前的版本?

strings.xml中字符串数组中的占位符

在内部创建匿名对象的繁忙循环调用函数会产生开销吗?

Android写/读二进制文件到共享存储

我无法在底部导航栏中正确导航-Android底部导航视图

为什么 Android Compose 将片段作为参数传递给 Composables 函数?

升级到 Jetpack Compose 物料 list 2023.08.00 需要我将 targetSdk 更改为 34

了解 CoroutineScope(Job() + Dispatchers.Main) 语法

将 React Native 应用程序背景带到前台

列表更改时,RecyclerView 中的列表不会更新

Electric Eel 后 Gradle 项目同步失败 | 2022.1.1更新

如何在 React Native 中调试网络响应

Android collectAsStateWithLifecycle() 不在可组合内部收集

优化 Room 数据库迁移

Android Material Date Range Picker - 如何仅更改所选范围日期的文本 colored颜色 ?

可扩展性 Qt 5.15 Android

即使我在单选按钮上明确设置了选中状态,RecyclerView 中的单选按钮也会随机取消选中