Fixed
Status Update
Comments
rm...@google.com <rm...@google.com> #2
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
ch...@google.com <ch...@google.com> #3
This seems related to in-memory R classes.
cm...@google.com <cm...@google.com>
cm...@google.com <cm...@google.com> #4
Proposed fix : ag/I972cc2d831aeff88302bf954f31cb0732c1ee323
be...@google.com <be...@google.com>
be...@google.com <be...@google.com>
be...@google.com <be...@google.com> #5
This will be fixed in 3.3.2, which we'll be releasing soon.
ry...@gmail.com <ry...@gmail.com> #6
red text show 【Cannot resolve symbol 'R2'】....with ButterKnife
ry...@gmail.com <ry...@gmail.com> #7
How soon?~
be...@google.com <be...@google.com> #8
#6, can you please file another bug with more details? So far I can see the R2 classes working as intended in library modules in Studio 3.3.1
gr...@ynab.com <gr...@ynab.com> #9
This is rearing its head again in AS 3.6 RC 1.
(Works fine in 3.5.3).
The code compiles just fine, but the IDE flags these generated resource values in red.
(Works fine in 3.5.3).
The code compiles just fine, but the IDE flags these generated resource values in red.
be...@google.com <be...@google.com> #10
Can you please file a new bug for this, with a bit more details? Which classes are unresolved? R? R2? Which version of Studio and AGP are you using? Can you reproduce it on a newly created project?
gr...@ynab.com <gr...@ynab.com> #11
I can file a new bug, and will do shortly, but the symptoms and repro steps are exactly the same as for the originally reported https://issuetracker.google.com/issues/123557197 which was closed as a duplicate of this.
Description
Build #AI-182.5107.16.33.5160847, built on December 4, 2018
JRE: 1.8.0_152-release-1248-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.2
Steps to Reproduce:
1. Create raw resource (R.raw.sample_raw_resource) on build.gradle script.
2. Register resource by BaseVariant.registerGeneratedResFolders.
3. Use "R.raw.sample_raw_resource" in MainActivity.java
4. Build success. But studio editor show red text. Tooltip says "Cannot resolve symbol 'raw'"
Issue not occurred on Android Studio 3.2.1(Android Gradle Plugin 3.2.1).