greenDao: org.eclipse.jdt.internal.compiler.batch.FileSystem.<init>([Lorg/eclipse/jdt/internal/

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’
}
}

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章