签名打包遇到错误 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.