|
/

签名打包遇到错误 PROCESS_PUSH_MSG

S沙城
发布于 4 年前
217来自重庆
消息推送 U-Push
C:\Users\cps\AndroidStudioProjects\ShaBox\app\src\main\AndroidManifest.xml: Error: Permission name PROCESS_PUSH_MSG is not unique (appears in both com.shabox.permission.PROCESS_PUSH_MSG and com.shabox.hihonor.permission.PROCESS_PUSH_MSG) [UniquePermission]
C:\Users\cps\AndroidStudioProjects\ShaBox\app\src\main\AndroidManifest.xml: Previous permission here

Explanation for issues of type "UniquePermission":
The unqualified names or your permissions must be unique. The reason for
this is that at build time, the aapt tool will generate a class named
Manifest which contains a field for each of your permissions. These fields
are named using your permission unqualified names (i.e. the name portion
after the last dot).

If more than one permission maps to the same field name, that field will
arbitrarily name just one of them.

1 errors, 0 warnings


Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
2个回答
 
4 年前
来自上海

问题在这里 Error: Permission name PROCESS_PUSH_MSG is not unique (appears in both com.shabox.permission.PROCESS_PUSH_MSG and com.shabox.hihonor.permission.PROCESS_PUSH_MSG) [UniquePermission]

 
4 年前
来自浙江省

你这边集成了哪些SDK,提供下集成的截图,还有配置混淆了吗?

Loading ...
登录社区,分享你的经验