wequick / Small

A small framework to split app into small parts
http://code.wequick.net/Small
Apache License 2.0
5.05k stars 1.11k forks source link

buildBundle报错 #596

Open liuxinyea opened 6 years ago

liuxinyea commented 6 years ago

错误报告

Execution failed for task ':app.main:transformClassesWithMultidexlistForRelease'.

java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?

你做了什么?

buildBundle

旧项目改造,新建项目并引入原来组件化的项目中的各个module,并未启动混淆

你期望的结果是什么?

buildBundle成功

实际结果是什么?

buildBundle报错

Small环境

gradle-small plugin : 1.3.0-beta3 (maven) small aar : 1.3.0-beta3 (maven) gradle core : 4.4 android plugin : 2.3.0 OS : Windows 10 10.0 (amd64)

Compile-time

 gradle-small plugin : 1.3.0-beta3 (maven)
            small aar : 1.3.0-beta3 (maven)
          gradle core : 4.4
       android plugin : 2.3.0
                   OS : Windows 10 10.0 (amd64)

Bundles

type name PP sdk aapt support file(armeabi) size
host app 27 25.0.2 25.1.0
stub app+farwolf.business 27 25.0.2
stub app+galleryfinal 27 25.0.2 25.1.0
stub app+farwolf 27 25.0.2 25.1.0
stub app+farwolf.weex 27 25.0.2 25.1.0
stub app+weex.sdk 27 25.0.2 25.1.0
app app.main 0x77 27 25.0.2 25.1.0 *_main.so 8 KB
lib lib.baidu.speech 0x49 27 25.0.2 25.1.0 *_speech.so 6.3 MB
lib lib.update 0x7e 27 25.0.2 25.1.0 *_update.so 13.4 KB
lib lib.module 0x5f 27 25.0.2 25.1.0 *_module.so 4.2 KB