多模块项目中Android View Binding未解析引用问题求助
Hey folks, I'm stuck on a weird View Binding issue with the Crypto Tweets sample project and wanted to share details in case anyone has insights or can help amplify the issue:
Problem Details
The project is split into three app modules: app, app-rx, and app-simple. All three have Android View Binding implemented, and all modules run perfectly without runtime crashes. However, the app and app-rx modules are throwing a Lint error:
Unresolved reference: FragmentFeedBinding
This error shows up specifically in the FeedFragment.kt file of those two modules, while the app-simple module has zero import or reference issues with the same binding class.
Troubleshooting Steps I've Already Tried
I've gone through all the standard fixes for View Binding resolution issues, none of which have resolved the Lint error:
- Synced the Gradle project multiple times
- Cleaned and rebuilt the entire project
- Cleared the IDE's build cache
- Restarted my IDE (tried both Android Studio and IntelliJ)
- Updated all project dependencies to their latest versions
- Cloned the repository from scratch and set up the project fresh
Request for Help
An issue for this problem has already been submitted to the project's IssueTracker. If you have a moment, please give it a thumbs up to help increase its visibility and get maintainers' attention.
内容的提问来源于stack exchange,提问作者adamhurwitz.eth

