t***@163.com
t***@163.com
  • 发布:2019-04-25 16:48
  • 更新:2019-07-05 11:24
  • 阅读:1111

云打包勾选原生js混淆后打包失败

分类:HTML5+

云打包勾选原生js混淆后打包失败
控制台返回:
时间: 2019-04-25 16:44:34 类型: Android 打包失败 错误日志: https://service.dcloud.net.cn/build/errorLog/59ef8a40-6736-11e9-ac3d-c35807783537
日志:
Error code = -5000
Error message:
Error: confusion failed!
manifest.json 配置如图:

2019-04-25 16:48 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

confusion数据格式不正确,正确格式如下:

// ...    
“plus”: {    
     // ...    
       "confusion": {     
                "description": "JS原生混淆",     
                "resources": {     
                        "js/common.js": {     
                        },     
                        "js/immersed.js": {     
                        }     
                }     
        }    
       // ...    
}    
// ... 
第九代开发传人

第九代开发传人 - http://www.cnblogs.com/yanbigfeg/

解决了吗。我也是这个问题。烦人文档也没有说明。马上要弃mui了。这个坑太深

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