无法在触发器平台2.5.5上使用forge构建android版本

时间:2017-04-07 14:27:02

标签: android trigger.io

更新后触发平台版本2.5.5(来自2.2.16)。 Forge不再能够构建应用程序的Android版本。

这就是我在日志中失败的原因:

Warning: Exception while processing task java.io.IOException: Can't write [/tmp/tmpnnIEUo/android/ForgeInspector/build/intermediates/transforms/proguard/vanilla/release/jars/3/1f/main.jar] (Can't read [/tmp/tmpnnIEUo/android/ForgeInspector/build/intermediates/exploded-aar/com.android.support/support-v4/23.4.0/jars/classes.jar(;;;;;;**/*.class)] (Duplicate zip entry [android/support/v4/d/a.class == classes.jar:android/support/v4/os/AsyncTaskCompat.class]))
:ForgeInspector:transformClassesAndResourcesWithProguardForVanillaRelease FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':ForgeInspector:transformClassesAndResourcesWithProguardForVanillaRelease'.
java.io.IOException: Can't write [/tmp/tmpnnIEUo/android/ForgeInspector/build/intermediates/transforms/proguard/vanilla/release/jars/3/1f/main.jar] (Can't read [/tmp/tmpnnIEUo/android/ForgeInspector/build/intermediates/exploded-aar/com.android.support/support-v4/23.4.0/jars/classes.jar(;;;;;;**/*.class)] (Duplicate zip entry [android/support/v4/d/a.class == classes.jar:android/support/v4/os/AsyncTaskCompat.class]))

1 个答案:

答案 0 :(得分:0)

我们需要更新一些自己的私有本机模块,以摆脱这种特定的构建错误。我们需要将这些模块迁移到trigger.io

中的本机模块的新gradle构建系统