Fixed
Status Update
Comments
rm...@google.com <rm...@google.com> #2
Thank you for your submission , can you perform a option in the Studio> File > invalidate caches / restart and after a rebuild hopefully the link should navigate to layout. If you still face an issue kindly share the idea.log file.This will help ensure the team can correctly triage and reproduce your issue.If we do not get an update in the next 30 days we will close this issue.
p....@mobgen.com <p....@mobgen.com> #3
Still not working.
rm...@google.com <rm...@google.com> #4
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
p....@mobgen.com <p....@mobgen.com> #5
Also is happening to all my colleagues who updated to 3.3, we are 20 android devs at the office.
xa...@google.com <xa...@google.com> #6
Tor, can you assign to someone? I don't think it's related to sync at all.
si...@gmail.com <si...@gmail.com> #7
the same problem
Android Studio 3.3
Build #AI-182.5107.16.33.5199772, built on December 25, 2018
JRE: 1.8.0_152-release-1248-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
Android Studio 3.3
Build #AI-182.5107.16.33.5199772, built on December 25, 2018
JRE: 1.8.0_152-release-1248-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
be...@google.com <be...@google.com> #8
Can you paste the path of the R.java that you end up navigating to? If you open the "Project" view in the project tool window (as opposed to "Android") and click the little target icon ("scroll from source"), is the directory containing R.java yellow?
p....@mobgen.com <p....@mobgen.com> #9
For me It's working fine since couple of days ago.
[Deleted User] <[Deleted User]> #10
Can confirm, not working. Brings me to the R file. It's pretty random, works for one module in the project but not for another. But if it doesn't — nothing helps: restart, invalidate, etc.
Android Studio 3.3
Build #AI-182.5107.16.33.5199772, built on December 25, 2018
JRE: 1.8.0_152-release-1248-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.20.0-arch1-1-ARCH
Android Studio 3.3
Build #AI-182.5107.16.33.5199772, built on December 25, 2018
JRE: 1.8.0_152-release-1248-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.20.0-arch1-1-ARCH
as...@gmail.com <as...@gmail.com> #11
Same here, not working.
The path for the R.java in question is "<module name>/build/generated/not_namespaced_r_class_sources/debug/generateDebugRFile/out/<package>/R.java"
Basically, if you remove the R file it opens for you, everything starts working as expected. Only until the next build. Then this file is regenerated and it's broken again.
The path for the R.java in question is "<module name>/build/generated/not_namespaced_r_class_sources/debug/generateDebugRFile/out/<package>/R.java"
Basically, if you remove the R file it opens for you, everything starts working as expected. Only until the next build. Then this file is regenerated and it's broken again.
vk...@gmail.com <vk...@gmail.com> #12
Same here not working, have tried invalide cache, reimporting project, etc, but didn't work
si...@gmail.com <si...@gmail.com> #13
#8
/Users/username/dev/project_folder/project_name/agenciesshowcase/build/generated/not_namespaced_r_class_sources/debug/generateDebugRFile/out/project_package/agenciesshowcase/R.java
I'm not sure, that I correctly understood what is yellow directory. Seems it's not yellow.
/Users/username/dev/project_folder/project_name/agenciesshowcase/build/generated/not_namespaced_r_class_sources/debug/generateDebugRFile/out/project_package/agenciesshowcase/R.java
I'm not sure, that I correctly understood what is yellow directory. Seems it's not yellow.
cm...@google.com <cm...@google.com>
be...@google.com <be...@google.com> #14
Eh, we've fixed it a while ago but the fix never made it to the 3.3 branch :/ I'm sorry about that, I'll try to get it included in a next 3.3.x release. In the meantime, upgrading the Gradle plugin to 3.3 is a workaround.
be...@google.com <be...@google.com> #15
Actually, 3.3 will still generate R.java for libraries, so what I suggested above is not a workaround.
as...@gmail.com <as...@gmail.com> #16
How about raising the priority of this issue? There are 9 unhappy people in my team, kind of a bummer for the "stable" release.
de...@gmail.com <de...@gmail.com> #17
All my team has exactly the same issue...
cm...@google.com <cm...@google.com> #18
Just to confirm, is everyone who sees this is using Android Studio 3.3 with Android Gradle Plugin 3.2? That's the only combination we're aware of that has this issue.
cm...@google.com <cm...@google.com> #19
As a workaround you can either use Android Studio 3.4 beta or 3.5 alpha where this issue is already fixed
or you make AGP 3.2 behave like AGP 3.3 by setting the internal debug option
android.excludeRAndManifestDotJavaFromGeneratedSources=true
in your project gradle.properties.
Note setting that option will break studio support for Android Studio 3.2, and make a sync warning that it is an experimental option.
That option was removed in 3.3.
or you make AGP 3.2 behave like AGP 3.3 by setting the internal debug option
android.excludeRAndManifestDotJavaFromGeneratedSources=true
in your project gradle.properties.
Note setting that option will break studio support for Android Studio 3.2, and make a sync warning that it is an experimental option.
That option was removed in 3.3.
si...@gmail.com <si...@gmail.com> #20
AS 3.3 + AGP 3.2.1
be...@google.com <be...@google.com>
zi...@gmail.com <zi...@gmail.com> #21
Should update to AS 3.3.1 fix this issue? Coz seems it's not. Invalidate cache + restart does not help.
be...@google.com <be...@google.com> #22
We were hoping this particular combination (AS 3.3.1 + AGP 3.2) will be fixed in 3.3.1. Can you paste the exact path of the R.java file you end up navigating to? Are you navigating from Kotlin or Java?
zi...@gmail.com <zi...@gmail.com> #23
Unfortunately i can't switch to AGP 3.2, coz it requires 28 build tool which some external libraries i use doesn't support.
I use 3.1.4 version.
I use 3.1.4 version.
be...@google.com <be...@google.com> #24
In that case please, please update http://b/123377557 with the R.java path you end navigating to.
zi...@gmail.com <zi...@gmail.com> #25
app/build/generated/source/r/dev/debug/packagename/R.java
Description
Build: 3.3, AI-182.5107.16.33.5199772, 201812250239,
AI-182.5107.16.33.5199772, JRE 1.8.0_152-release-1248-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.6 unknown, screens 1680x1050, 1920x1080; Retina
Android Gradle Plugin: 3.2.0
Gradle: 4.9
NDK: from local.properties: (not specified); latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: (not found);
Source: user_sentiment_feedback
IMPORTANT: Please read