为什么 Google Play 显示错误“无法安装应用程序”?

发布于 2025-01-10 12:41:43 字数 658 浏览 1 评论 0原文

可能这不是发布此问题的最佳位置,但它涉及开发人员,因此如果您不删除此问题,您将会帮我(和我们许多人)一个忙:

最近,我的许多用户在安装我的应用程序时遇到问题谷歌播放。下载完成并开始安装,但 Google Play 结束时显示以下消息:

无法安装--应用程序名称--

再试一次,如果仍然不起作用,请查看解决问题的常见方法

您是否遇到过同样的问题?

我已经询问过谷歌,但他们没有提供太多信息,而且他们花了很长时间来修复它。

显示该消息的设备来自不同品牌和 Android 版本。像三星、索尼……

那些用户还告诉我,他们可以毫无问题地从 Play 下载并安装其他应用程序。所以,他们当然责怪我,而不是 Google Play。

我不明白为什么他们无法安装我的应用程序。

我已经解决这个问题几个星期了,所以我与他们一起进行了测试,以清除 Google Play 缓存、存储、重新启动设备等等。

我的许多用户都会遇到这种情况(无论是更新还是开始全新安装),但它适用于大多数其他用户。所以,这并不是每个人都会发生的事情,只会发生在少数人身上。虽然那些“少数”很多。

一些用户甚至告诉我,他们已经使用我的应用程序很多年了,他们在尝试安装最后一次更新时遇到了错误。一旦他们卸载并进行全新安装,他们甚至无法继续。

Probably this is not the best place to publish this question but it concerns developers so you will do me (and many of us) a favor if you don't remove this question:

Lately, many of my users are having problems installing my apps from Google Play. The download completes and installation starts, but Google Play finishes with this message:

Can't install --App name--

Try again, and if it still doesn't work, see common ways to fix the problem

Have you had the same issue?

I have asked Google but they do not provide much info and they are taking too long to fix it.

The devices that are displaying that message are from different brands and android versions. Like Samsung, Sony...

Those users also told me that they can download and install other apps from Play without problems. So, of course, they blame me, not Google Play.

I don't understand why they cannot install my apps.

I have been several weeks with this issue, so I have tested with them to clear Google Play cache, storage, reboot the device and all that.

It happens to many of my users (either to update or to start a fresh installation) but it works for most of the rest of the users. So, it is not something that happens to everybody, just to a few. Although those "few" are a lot.

Some users even told me that they had my app for years, and they had the error when trying to install the last update. Once they uninstall to do a fresh installation, then they cannot even continue.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半窗疏影 2025-01-17 12:41:44

问题解决了。
遇到问题的一位用户了解计算机,他在安装时向我展示了以下日志:

03-10 18:26:01.393  1844  2241 W PackageManager: Package my.app.package attempting to redeclare permission android.permission.QUERY_ALL_PACKAGES already owned by com.androidassistant.paid
03-10 18:26:01.404 13046 13046 E Finsky  : [2] ofn.onReceive(19): Error -505 while installing my.app.package: INSTALL_FAILED_DUPLICATE_PERMISSION: Package my.app.package attempting to redeclare permission android.permission.QUERY_ALL_PACKAGES already owned by com.androidassistant.paid, ConflictingPackage: com.androidassistant.paid
03-10 18:26:01.414 13046 13046 W Finsky  : [2] khw.e(4): Installer::IT: Install failure of my.app.package (isid: ysr14RryQ9aB80XVw6H2BA): -505, Exception: n/a, ErrorMessage: INSTALL_FAILED_DUPLICATE_PERMISSION: Package my.app.package attempting to redeclare permission android.permission.QUERY_ALL_PACKAGES already owned by com.androidassistant.paid, ConflictingPackage: com.androidassistant.paid

我从清单文件中删除了 QUERY_ALL_PACKAGES 权限,并且该应用现在可以安装在之前失败的所有设备上。但我需要在我的应用程序中获得该许可。所以现在我想知道为什么声明该权限会在这些设备上出现此问题。对我来说这听起来像是一个错误。我向谷歌报告了此事。

Problem solved.
One of the users that had the issue knew about computers and he showed me this log when installing:

03-10 18:26:01.393  1844  2241 W PackageManager: Package my.app.package attempting to redeclare permission android.permission.QUERY_ALL_PACKAGES already owned by com.androidassistant.paid
03-10 18:26:01.404 13046 13046 E Finsky  : [2] ofn.onReceive(19): Error -505 while installing my.app.package: INSTALL_FAILED_DUPLICATE_PERMISSION: Package my.app.package attempting to redeclare permission android.permission.QUERY_ALL_PACKAGES already owned by com.androidassistant.paid, ConflictingPackage: com.androidassistant.paid
03-10 18:26:01.414 13046 13046 W Finsky  : [2] khw.e(4): Installer::IT: Install failure of my.app.package (isid: ysr14RryQ9aB80XVw6H2BA): -505, Exception: n/a, ErrorMessage: INSTALL_FAILED_DUPLICATE_PERMISSION: Package my.app.package attempting to redeclare permission android.permission.QUERY_ALL_PACKAGES already owned by com.androidassistant.paid, ConflictingPackage: com.androidassistant.paid

I removed the QUERY_ALL_PACKAGES permission from my Manifest file and the app can be installed now on all those devices that failed before. But I need that permission in my app. So now I would like to know why declaring that permission is having this problem on those devices. It sounds like a bug to me. I reported it to Google.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文