Open liuzhp3 opened 4 years ago
Can you please test this with the latest version 3.3.0
?
We also need more error output to narrow down the issue.
@greenrobot-team I Use 3.3.0 . but result is :
I used version 3.3.1 and the results were the same @greenrobot-team @greenrobot
@liuxinghj Is this the same issue as reported at https://github.com/greenrobot/greenDAO/issues/1110#issuecomment-1609252219?
@greenrobot @greenrobot-team I meet the issue when i write the entity with java , but call Dao that haven't generated in kotlin class, report "compileDebugKotlin Unresolved reference: xxxDao" .For constrast, if i call the Dao in a java class, all going well. How can i fix that? thanks
my library module .gradle as below:
apply plugin: 'com.android.library' apply plugin: 'org.greenrobot.greendao' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions'
android { compileSdkVersion 30 buildToolsVersion "29.0.3"
}
greendao { schemaVersion 1 //database version targetGenDir 'src/main/java' //specify the directory where the code is generated daoPackage 'com.coloros.testdir.greendao' //generate code to specific packages }
dependencies { implementation fileTree(dir: "libs", include: ["*.jar"])
}
Originally posted by @liuzhp3 in https://github.com/greenrobot/greenDAO/issues/395#issuecomment-690122419