1
I’m a developer and I’m having trouble installing an app in the Lollipop version.
I did some research and I believe it’s a duplicity error Packages, ie have two Apps calling the same package (but not sure), this is part of my code. Both app has the same permission: android:name="br.exemplogcm.permission.C2D_MESSAGE
.
<permission
android:name="br.exemplogcm.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="br.exemplogcm.permission.C2D_MESSAGE" />
I have two apps, and both use the package br.exemplogcm. Is this what’s going wrong? I don’t have the Lollipop version, so it’s hard to test.
and in the case of
<uses-permission android:name="android.permission.INTERNET"/>
Do I have to change too? Many apps use the same package name. I tried to rename that package, but it still misses, perhaps because of other packages like the INTERNET. This is a bug of 5.0, or is it something definitive of Lollipop? Is this fixed in versions 5.1 and 5.2? To resolve I will have to change the package name even from the internet?– Felipe Jorge
This case does not apply. The error refers to the duplicity of signed permission, in the case of C2D_MESSAGE. For example, another case that would apply is MAPS_RECEIVE, which also requires a signed permission.
– Paulo Rodrigues