android / android/codelab-android-paging
Changing compileOptions to 11 cause Package not found
- Dominant language
- Kotlin
- Stars
- 509
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I notice if change build.gradle to java 11, all the View package cannot be found.

This is fresh new clone from branch step13-19_network_and_database with the compile option change. I know not just this repo will run into this problem But I would like to take this chance to ask what is causing this error.
Basically all the view and widget package cannot be found. And all the databinding generated class cannot find symbols.
Contributor guide
Research direction
Start by checking build.gradle on branch step13-19_network_and_database and reproduce the failure after changing the compile option to Java 11. Trace the missing View and widget packages and the unresolved databinding generated classes, then identify and document the compatible configuration or required project change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100