Android studio Android Studio:任务应用程序transformClassesWithPreJackPackagedLibrariesForDebug的执行失败

Android studio Android Studio:任务应用程序transformClassesWithPreJackPackagedLibrariesForDebug的执行失败,android-studio,android-gradle-plugin,jack-compiler,Android Studio,Android Gradle Plugin,Jack Compiler,所以,我现在使用的是Android Studio 2.2稳定版本,在将Studio更新为2.2版本后,运行应用程序时出现以下错误: Error:Execution failed for task ':app:transformClassesWithPreJackPackagedLibrariesForDebug'. > java.lang.Boolean cannot be cast to java.lang.String be corrupt (this sometimes occurs

所以,我现在使用的是Android Studio 2.2稳定版本,在将Studio更新为2.2版本后,运行应用程序时出现以下错误:

Error:Execution failed for task ':app:transformClassesWithPreJackPackagedLibrariesForDebug'.
> java.lang.Boolean cannot be cast to java.lang.String
be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
将其设置为“true”而不是true

additionalParameters("jack.incremental": "true")

我希望这能起作用。

删除其他参数(“jack.incremental”:true)可以解决我的问题。我在这里提交了一份错误报告。谢谢@mystilleef我删除了增量标志和支持-v4:24.2.1,然后就可以工作了fine@mr.boyfox那么你是如何解决这个问题的?你能解释一下吗?
additionalParameters("jack.incremental": "true")