143行,为基座删除的部分权限中的“ <uses-feature android:name="android.hardware.camera" />”
//warning信息
d:\xxxxxxxxx\app\src\main\AndroidManifest.xml:143:9-408:50 Warning:
Element meta-data#WX_APPID at AndroidManifest.xml:406:9-408:50 duplicated with element declared at AndroidManifest.xml:365:9-367:50
[aps-unipush-release.aar] C:\Users\Administrator\.gradle\caches\transforms-2\files-2.1\2c155a3c5ae2209e5e1510980b38e4d1\AndroidManifest.xml:61:5-81 Warning:
Element uses-permission#android.permission.ACCESS_COARSE_LOCATION at [aps-unipush-release.aar] AndroidManifest.xml:61:5-81 duplicated with element declared at [aps-unipush-release.aar] AndroidManifest.xml:23:5-81、
//以下是红色报错部分
d:\xxxxxxxxx\app\src\main\AndroidManifest.xml Error:
Attribute action#${apk.applicationId}.__CREATE_NOTIFICATION@name at AndroidManifest.xml requires a placeholder substitution but no value for <apk.applicationId> is provided.
d:\xxxxxxxxx\app\src\main\AndroidManifest.xml Error:
Attribute action#${apk.applicationId}.__REMOVE_NOTIFICATION@name at AndroidManifest.xml requires a placeholder substitution but no value for <apk.applicationId> is provided.
d:\xxxxxxxxx\app\src\main\app\src\main\AndroidManifest.xml Error:
Attribute action#${apk.applicationId}.__CLEAR_NOTIFICATION@name at AndroidManifest.xml requires a placeholder substitution but no value for <apk.applicationId> is provided.
d:\xxxxxxxxx\app\src\main\app\src\main\AndroidManifest.xml Error:
Attribute action#${apk.applicationId}.__CLILK_NOTIFICATION@name at AndroidManifest.xml requires a placeholder substitution but no value for <apk.applicationId> is provided.
d:\xxxxxxxxx\app\src\main\app\src\main\AndroidManifest.xml:285:9-287:57 Error:
Attribute meta-data#PUSH_APPSECRET@value at AndroidManifest.xml:285:9-287:57 requires a placeholder substitution but no value for <plus.unipush.appsecret> is provided.
如上所示,与android-hello项目,替换了build.gradle和AndroidManifest.xml均报错,网上查无此错误
看起来像是unipush-release.aar引起的?
求大佬们赐教,感谢~
zhangdaren (作者)
非常感谢
,基本得到解决了2019-04-22 16:30
l***@163.com
看了,照做的,文档中说,所有权限配置在aar中,但是启动的时候还是会提示没有push权限
2019-09-19 11:31