Error:FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘::greendao’.org.eclipse.jdt.internal.compiler.batch.FileSystem.([Lorg/eclipse/jdt/internal/compiler/batch/FileSystem$Classpath;[Ljava/lang/String;)V
Try:
Run with –stacktrace option to get the stack trace. Run with –debug option to get more log output.
谷歌上找出的解決方案:
https://github.com/greenrobot/greenDAO/issues/448
我是這麼解決的, module下的build.gradle中使用3.1.0:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath ‘org.greenrobot:greendao-gradle-plugin:3.1.0’
}
}