zyk2019
zyk2019
  • 发布:2019-04-01 11:27
  • 更新:2019-04-01 12:10
  • 阅读:1283

云打包失败,引入了一个第三方原生组件,单独打包没问题,引入到自己的项目 就报错,请问怎么找原因呢,感觉是什么东西配置的问题

分类:uni-app

https://service.dcloud.net.cn/build/errorLog/d3c26590-542c-11e9-b2e1-e9dc35eec3b7

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':transformClassesWithMultidexlistForRelease'.
    > com.android.build.api.transform.TransformException: Error while generating the main dex list.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 13s
Appid: UNIEFF11E9

2019-04-01 11:27 负责人:无 分享
已邀请:
zyk2019

zyk2019 (作者)

自己找到原因了
mainfest需要引入nativePlugins 官方文档没有写

zyk2019

zyk2019 (作者)

https://uniapp.dcloud.io/api/extend/native-plugin?id=requirenativeplugin

文档里加一下 需要配置mainfest吧,好坑啊

该问题目前已经被锁定, 无法添加新回复