[英]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.