-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to keep class with ViewDataBinding - Error class: unknown class and show subModule #235
Comments
Hi @longquangpham90, thanks for the report! I can see see that you're encountering an "Error class: unknown class" error in the rendered HTML. However, I can't see see any obvious problem. I'd like to help, but I'd need more info. I'm not familiar with Android development. Can you share the project, or an example? How can I reproduce it? What versions of Gradle/Kotlin/Android/Dokkatoo are you using? What's the project structure? How many subprojects have you got? What configuration have you used? |
Hi @aSemy |
Thanks! I can't see anything wrong. I can see that it's quite a large project, and I don't have time to investigate something of this size really. Also, because the project is quite big I can't download it, for security reasons. I did have a look through though, and I have some notes:
|
Thanks @aSemy |
Ahh okay. So if it's generated, you might need to tell Dokkatoo to use the generated sources. Those generated files are used during compilation, so Dokkatoo should detected them automatically, but I guess that's not the case... I'd really like to fix it, but I'm really not an Android dev. Could you help me out and create a smaller reproducer? Does it need to be a multi-module project, or does it also happen in a single module project? To fix it in the meantime, you could try telling Dokkatoo about the source directory. Something like this: // build.gradle.kts
// ...
dokkatoo {
dokkatooSourceSets.named("main") {
sourceRoots.from( /* TODO tasks.named("nameOfTaskThatGeneratesSources") */ )
}
} |
I have class with ViewDataBinding
How to keep it when export documentsAnd I want to show sub-module features(splash, intro, search-bill). Currently we can not show its
The text was updated successfully, but these errors were encountered: