Status Update
Comments
re...@gmail.com <re...@gmail.com> #2
thanks for create this issue instance. It is more related to generated Binding Class in Data Binding is deemed to be Unresolved by KT Editor, when multiple base modules in the project has the same Data Binding classes.
vi...@google.com <vi...@google.com> #3
The bar for cherry picking is too high, I'm afraid. If I understand things correctly...
- The workaround is simple (just ignore it for now)
- This isn't a regression, it's been present in older versions of Studio
- (As far as our team can tell) this doesn't affect a large % of all Studio users
If these are true, then it's certain the request for a cherry pick will be rejected. After all, cherry picks are risky (landing so late) and require a bunch of resources (an additional test path with QA brought up to speed), so I've seen worse bugs rejected for cherry picks than something like this.
Let me know if I'm missing anything. I'm closing this bug down for process reasons, but please feel free to keep the conversation going and I'll respond.
fr...@gmail.com <fr...@gmail.com> #4
I think it is fine to leave the status: Won't fix for this issue instance, since the fix is in 4.2 Canary 9 already.
- The workaround is simple (just ignore it for now)
- This isn't a regression, it's been present in older versions of Studio
not an objection for me as the issue reporter.
(As far as our team can tell) this doesn't affect a large % of all Studio users
I think it is really an edge case. As far as i can think of the scenarios to cause this happen would be:
- Doing the Android Kotlin Codelabs, since it happens a lot to duplicate the base module as
final
andstart
for scaffolding learning - Working with the App solution across multiple android based devices, such as Wear OS, Android phone while the project has multiple base modules all having the same named layout files for features such as SettingsFragment.
When i was able to change the runtime of AS 4.0.1 to OpenJDK 11 with Choose Runtime Plugin. The issue seems to be resolved, but as far as i click on the reference to open the declarations the Android Studio 4.0.1 has crashed and restarted by itself. Such a behaviour doesn't seem to happen in AS 4.1 RC2.
vi...@google.com <vi...@google.com>
so...@google.com <so...@google.com> #5
Build was succeeds but the IDE shows unresolved references same as the OP. The error is intermittently appeared even I had no change to the related layout file and class that use the generated binding class.
Description
AI-192.7142.36.36.6200805, JRE 1.8.0_212-release-1586-b4-5784211x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.15.3, screens 3440x1440, 1680x1050; Retina
AS: 3.6; Kotlin plugin: 1.3.61; Android Gradle Plugin: 3.6.0; Gradle: 5.6.4; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: LLDB 3.1 (revision: 3.1.4508709); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: 3.16.4
IMPORTANT: Please read
Every time I start Android Studio it reset sets my build Variant to something other than what I had set it to the last time it was open.