Status Update
Comments
vi...@google.com <vi...@google.com>
di...@google.com <di...@google.com>
ch...@google.com <ch...@google.com> #2
Oh and important thing to note, the test passes when running via Gradle.
jl...@google.com <jl...@google.com>
jl...@google.com <jl...@google.com> #4
This is not reproducible. Verified against LB Canary 1 using the attached project. Everything works fine.
What test do you run exactly (the class/method/...)?
jg...@google.com <jg...@google.com>
jg...@google.com <jg...@google.com>
an...@google.com <an...@google.com> #5
I'm attaching screenshots and idea.log as well to narrow this down. I tried to assign Gradle JDK 17 and 11 with no change, different flavor of 21 - no change. But then again running the test through Gradle works, unless you want to debug. In which case it cannot find a valid JDK. This is really confusing for me…
If you want me to try anything, I'm willing to give it a shot. It's reproducible in 100% of times on my side.
an...@google.com <an...@google.com> #6
Ok, I understand what is going on: you are choosing the first option which runs tests using JUnit, but we should not be showing that option to you anyway. If you chose the option to run the Gradle RC, then it will run the tests for you fine.
Thank you for bringing this to our attention.
Description
Android Studio 4.1.1
Build #AI-201.8743.12.41.6953283, built on November 5, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-124-generic
Current Desktop: X-Cinnamon
Some vector drawables show fine in Design window, but are cropped/displaced very much in Resource Manager panel.
Two specific cases I've discovered:
See the left side on screenshots. Sample project attached.
Same happens in Android Studio 4.2 Canary 16. Not affected by enabling/disabling new Layout Rendering Engine. So it's not yet another duplicate of that issue . ;)