开发者社区> 问答> 正文

cordova发布APK失败是怎么回事?报错

报错:

FAILURE: Build failed with an exception.


* What went wrong:
Execution failed for task ':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.


BUILD FAILED


Total time: 5.5 secs


D:\hcht\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
Error code 1 for command: cmd with args: /s /c "D:\hcht\platforms\android\gradle
w cdvBuildRelease -b D:\hcht\platforms\android\build.gradle -Dorg.gradle.daemon=
true"
ERROR building one of the platforms: Error: D:\hcht\platforms\android\cordova\bu
ild.bat: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: D:\hcht\platforms\android\cordova\build.bat: Command failed with exit cod
e 1
    at ChildProcess.whenDone (C:\Users\dell\AppData\Roaming\npm\node_modules\cor
dova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
打不出release包来,因为添加了com.synconset.imagepicker这个插件怎么解决这个

展开
收起
爱吃鱼的程序员 2020-06-12 15:26:21 432 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    <spanstyle="font-family:'MicrosoftYaHei',Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">YoumaynothavetherequiredenvironmentorOStobuildthisproject回复<aclass='referer'target='_blank'>@路路路路路:我也碰见这个错误了,请问楼主怎么解决的?谢谢抱歉,不是这个的事,已经找到解决了,还是谢谢了

    2020-06-12 15:26:39
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
从加固讲APK瘦身 立即下载
APP加固新方向 --混淆和瘦身 立即下载
附件下载测试 立即下载