Status Update
Comments
lb...@gmail.com <lb...@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.
lb...@gmail.com <lb...@gmail.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.
vi...@google.com <vi...@google.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.
lb...@gmail.com <lb...@gmail.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.
vi...@google.com <vi...@google.com> #6
Thanks for your update, but it's hard to confirm whether it is the same bug since 3 years have passed.
In
The reporter said that this issue has been fixed in Android Studio 4.2 Canary 9
This makes me believe that you are hitting a different issue (different root cause with the same symptom).
Please file a new bug with us with as many details as possible and we can start/restart the investigation process.
Description
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio 3.6 Canary 12
Build #AI-192.6262.58.36.5871855, built on September 12, 2019
Runtime version: 1.8.0_212-release-1586-b04 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1237M
Cores: 12
Registry: ide.new.welcome.screen.force=true, debugger.watches.in.variables=false
Non-Bundled Plugins: ignaciotcrespo.github.com.vector-drawable-thumbnails
Steps to Reproduce:
1. Create a new empty project.
2. Copy a simple Activity from some other project into it, and add it to the manifest using a quick fix.
3. Try to start the app.
The bug:
The IDE claims it doesn't know which Activity to start, even though there is only one Activity that is the default one.
No matter what I try, the build is fine, but the IDE claims it doesn't know which Activity to start.