Issue with GCM. Manifest malformed as a result of capital letter in package name

早过忘川 提交于 2020-01-13 03:12:06

问题


I have a problem when I try to add GCM in my application, when the package name starts with capital letter.

The problem is in the code:

<permission android:name="Myapplication.com.permission.C2D_MESSAGE" 
android:protectionLevel="signature" />

When you try to install it in the emulator the output is:

install_parse_failed_manifest_malformed

If you are starting a new application you can solve it changing the package name from "Myapplication.com" to "myapplication.com" (little letters), but if you're updating an already existing application you cannot do that, because Google Play does not admit the change of the package name when updating.

来源:https://stackoverflow.com/questions/12579202/issue-with-gcm-manifest-malformed-as-a-result-of-capital-letter-in-package-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!