按照官方升级指示,将新的APP代码上传apicloud云编译,先是按官方说的把安卓固件版本调到4.3以上,失败!然后每个版本都试了,都提示编译失败,提示代码是一大堆英文“2019-12-06 10:43:57
no manifest.xml, ignore
/uzmap/temp/3ogP1bc278fg7Qn/AStudioProject/app/src/main/AndroidManifest.xml:108:1-129 Error:
Element activity#com.tencent.connect.common.AssistActivity at AndroidManifest.xml:108:1-129 duplicated with element declared at AndroidManifest.xml:102:1-215
/uzmap/temp/3ogP1bc278fg7Qn/AStudioProject/app/src/main/AndroidManifest.xml:111:1-120:14 Error:
Element activity#com.tencent.tauth.AuthActivity at AndroidManifest.xml:111:1-120:14 duplicated with element declared at AndroidManifest.xml:93:1-100:15
/uzmap/temp/3ogP1bc278fg7Qn/AStudioProject/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processReleaseManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
”
求官方和个大神指点,我错在哪里,怎么才能上传编译成功?
在尝试升级并编译APP时遇到问题,按照官方指南将安卓固件版本提升到4.3以上后,遭遇编译失败。错误信息显示AndroidManifest.xml中存在元素重复。具体表现为activity#com.tencent.connect.common.AssistActivity和activity#com.tencent.tauth.AuthActivity在文件的不同位置被多次声明,导致Manifest合并失败。尝试各个版本均未成功。建议检查并合并冲突的XML元素,或者查阅更详细的官方文档和社区解决方案。
885

被折叠的 条评论
为什么被折叠?



