Open tcking opened 6 years ago
freeline versoin:0.8.8
工程结构: module A -> module B -> module C
module A脚本:
freeline{ autoDependency false applicationProxy false }
module C:
//脚本增加 debugCompile 'com.antfortune.freeline:runtime:0.8.8' releaseCompile 'com.antfortune.freeline:runtime-no-op:0.8.8' testCompile 'com.antfortune.freeline:runtime-no-op:0.8.8' //application.onCreate() 中增加: FreelineCore.init(application);
结果: 1.执行./gradlew :moudleA:assembleDebug出错: com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/antfortune/freeline/BuildConfig.class
./gradlew :moudleA:assembleDebug
2.执行python freeline.py -f出错,提示: intermediates/assets/debug/apktime file not found 但是三个module并没有配置任何的productFlavor
python freeline.py -f
productFlavor
尝试过applicationProxy true可以编译通过,但是启动就崩溃,没有初始化我们自己的application,只能修改配置。
freeline versoin:0.8.8
工程结构: module A -> module B -> module C
module A脚本:
module C:
结果: 1.执行
./gradlew :moudleA:assembleDebug
出错: com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/antfortune/freeline/BuildConfig.class2.执行
python freeline.py -f
出错,提示: intermediates/assets/debug/apktime file not found 但是三个module并没有配置任何的productFlavor
尝试过applicationProxy true可以编译通过,但是启动就崩溃,没有初始化我们自己的application,只能修改配置。