简体   繁体   English

从Google Play安装应用时收到错误代码-505

[英]When installing app from google play getting error code -505

I have generated 3 different apps with different key store and with different package name from android studio and published on google play store. 我从Android Studio生成了3个具有不同密钥库和不同包名称的不同应用,并在Google Play商店中发布。 When one app is installed and try to install second app or third app i get google play installation error. 当安装了一个应用程序并尝试安装第二个应用程序或第三个应用程序时,我收到了Google Play安装错误。 I am not sure what i am doing wrong here. 我不确定在这里我在做什么错。 As my keystore and packages are different. 由于我的密钥库和软件包不同。 Done lots of RND but did not find any solution. 做了大量的RND,但没有找到任何解决方案。 Please help me out here. 请帮我在这里。 Also find attached error code screen shot. 还可以找到附带的错误代码屏幕截图。 enter image description here 在此处输入图片说明

I have resolved this problem. 我已经解决了这个问题。 Actually problem was accruing due to same permission in manifest of all of the 3 apps. 实际上,由于所有3个应用的清单中都具有相同的权限,因此出现了问题。 I was not using project package name in the permissions. 我没有在权限中使用项目包名称。 So when i install one app then try to install second app then permission mismatch problem was accruing. 因此,当我安装一个应用程序然后尝试安装第二个应用程序时,就会出现权限不匹配的问题。 Once i have given package name in permission it start working fine. 一旦我在许可中给出了程序包名称,它就会开始正常工作。 Before is was using :- 在使用之前:

<permission
        android:name="com.example.gcm.permission.C2D_MESSAGE"
        android:protectionLevel="signature" />
    <uses-permission android:name="com.example.gcm.permission.C2D_MESSAGE" />

Then i convert this code by following code :- 然后我通过以下代码转换此代码:

<permission
        android:name="APP_PACKAGE_NAME.permission.C2D_MESSAGE"
        android:protectionLevel="signature" />
    <uses-permission android:name="APP_PACKAGE_NAME.permission.C2D_MESSAGE"/>

This resolved my problem. 这解决了我的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 安装自定义应用时,Google Play抛出错误代码-505 - Google Play throwing error code -505 when installing custom app 从 Google Play 安装应用程序时出错 - Getting error when installing app from Google Play Google Play -505安装错误 - Google Play -505 install error 用户无法从Google Play更新/安装我的应用程序(错误-505)! - Users cannot update/install my app from Google Play(error -505)! 从 Play 商店安装应用程序后尝试使用 google 登录时,出现“使用 Google 进行身份验证时出错:未知”异常。 查看详细信息 - Getting 'Error authenticating with Google: unknown' exception when trying to signin with google after installing app from play store. See details 我正在尝试编写Google Map应用程序代码,但是即使安装了Google Play商店服务后,我也收到以下错误消息: - I am trying to write a google map app code, but even after installing the google play store services i am getting the following error: 无法安装应用程序(错误代码:-505) - Can't install app (Error code: -505) 从 Google Play 商店安装应用程序时的 onActivityResult 回调 - onActivityResult callback when installing an app from Google Play Store 从Google Play网站安装应用程序时未传递推荐值 - Referral Value is not passing when installing app from Google play site Android应用程式无法从Google Play进行安装 - Android app is stuck installing not from Google Play
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM