Status Update
Comments
vi...@google.com <vi...@google.com>
vi...@google.com <vi...@google.com> #2
Please note that this is unrelated to Lint. This is IntelliJ indexing failing to resolve the class.
Where does these binding classes come from?
no...@gmail.com <no...@gmail.com> #3
Could you please try "Build -> Run Generate Sources Gradle Tasks", and let us know if that fixes the problem?
vi...@google.com <vi...@google.com> #4
From the layouts in the project.
Have seen similar in3.5.Cx , not so often in 3.6.Cx , but more in 4.0.Cx and
now in 4.1.C1. Normally it was like a "red flood" for 15-20 secs (suspected
AS to do some "catching up"), but in 4.0 and 4.1 it didn't get resolved
until a complete rebuild. More often after opening project or restart of AS.
RG
man. 2. mar. 2020, 19:26 skrev <buganizer-system@google.com>:
Have seen similar in
now in 4.1.C1. Normally it was like a "red flood" for 15-20 secs (suspected
AS to do some "catching up"), but in 4.0 and 4.1 it didn't get resolved
until a complete rebuild. More often after opening project or restart of AS.
RG
man. 2. mar. 2020, 19:26 skrev <buganizer-system@google.com>:
yb...@google.com <yb...@google.com> #5
Sorry, we bypassed...
I'll try your suggestion.
RG
man. 2. mar. 2020, 19:57 skrev <buganizer-system@google.com>:
I'll try your suggestion.
RG
man. 2. mar. 2020, 19:57 skrev <buganizer-system@google.com>:
no...@gmail.com <no...@gmail.com> #6
Hi, ran back to office to check out...(puuh!!...)
Yess! Your suggestion remedies the situation, and the false errors disappeared.
Anyway, before I ran the command, I took zip of my logs, maybe you see the reason for the issue there.
RG
Yess! Your suggestion remedies the situation, and the false errors disappeared.
Anyway, before I ran the command, I took zip of my logs, maybe you see the reason for the issue there.
RG
da...@google.com <da...@google.com> #8
Apologies for the delay in getting to this.
This seems like a duplicate of
If this is still an issue with recent versions of Studio & AGP please could you file a new issue referencing this one?
Description
Version used:
Theme used:
Devices/Android versions reproduced on:
both windows 10 and linux
- Relevant code to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
I use layout sub-folder to group layout file with setting res.srcDirs in build.gradle files like below.
"
sourceSets {
main {
res.srcDirs = ['src/main/res/layout/main/fragment','src/main/res/layout/main','src/main/res/layout/intro/fragment', 'src/main/res/layout/intro','src/main/res/layout/preference/fragment', 'src/main/res/layout/preference', 'src/main/res/layout/multivideo/fragment', 'src/main/res/layout/multivideo','src/main/res']
}
}
"
But databinging only recognize xml files in root layout folder not sub-folder.
When I had copied files in sub-folder to root layout folder and then backed to sub-folder, it can recognize xml files in sub-folder, however after clean project and rebuild , databinding cannot recognize xml file again.