爷不在
爷不在
  • 发布:2019-05-29 11:49
  • 更新:2020-09-19 16:16
  • 阅读:2528

云打包失败:Error while generating the main dex list.

分类:uni-app

业务原因,我用高德的猎鹰SDK写了一个原生plugin,打包是没有问题的,可以正常使用。
如果我又想在应用中在manifest.json里面启用地图相关的SDK,这样的话打包的时候,就会有两套库
然后我再打包的时候:
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 7s

2019-05-29 11:49 负责人:无 分享
已邀请:
码农一生

码农一生

我页遇到这样的问题,只能离线打包。

cc86

cc86 - bug

怎么解决?

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

  • 标题 / 粗斜体
  • 代码片段
  • 超链接 / 图片 / 视频
  • 列表 / 引用

文章内容较多时,可以用标题分段 :

## 大标题 
### 小标题

斜体 / 粗体 :

**粗体** 
*斜体*
***粗斜体***

代码片段 :

``` javascript
代码片段
```

超链接 :

[链接文字](链接地址) 例: [百度](http://www.baidu.com)

图片 :

![图片说明](图片地址) 例: ![百度logo](http://www.baidu.com/img/bdlogo.gif)

视频 :

!![视频说明](视频地址) 例: !![优酷视频](http://youku.com)

有序列表 :

1. 123
2. 123
3. 123

无序列表 :

- 123
- 123
- 123

引用 : ( 双回车后结束引用 )

> 引用内容
引用内容
引用内容