Status Update
Comments
st...@gtempaccount.com <st...@gtempaccount.com> #2
Also affects "Dolphin" beta 1 and "Electric Eel" canary 2
uc...@google.com <uc...@google.com>
je...@google.com <je...@google.com>
st...@gtempaccount.com <st...@gtempaccount.com> #3
Any updates on this?
st...@volvo.corp-partner.google.com <st...@volvo.corp-partner.google.com> #4
Any news?
so...@google.com <so...@google.com>
[Deleted User] <[Deleted User]> #5
st...@gtempaccount.com <st...@gtempaccount.com> #6
Any ETA on fixing this?
st...@volvo.corp-partner.google.com <st...@volvo.corp-partner.google.com> #7
Unfortunately this is still broken in Android Studio "Dolphin" which recently entered stable release channel, any word on whether this issue will be addressed in an upcoming patch?
st...@volvo.corp-partner.google.com <st...@volvo.corp-partner.google.com> #8
Dolphin screenshot
sg...@google.com <sg...@google.com> #9
android {
// ....
// android.car exists since Android 10 (API level 29) Revision 5.
useLibrary 'android.car'
}
st...@gtempaccount.com <st...@gtempaccount.com> #10
and the problem persists in Chipmunk and newer:
android {
...
useLibrary 'android.car'
st...@gtempaccount.com <st...@gtempaccount.com> #11
android {
...
useLibrary 'android.car'
is also in the sample project .zip file attached to this ticket above
mt...@gmail.com <mt...@gmail.com> #12
I observe the same problem with the "android.test" libraries.
With
android {
useLibrary 'android.test.runner'
useLibrary 'android.test.mock'
useLibrary 'android.test.base'
}
All classes from the android.test package, e.g. ProviderTestCase2 are unresolved in Android Studio, and tests can only be run from the commandline.
ek...@bam-boo.eu <ek...@bam-boo.eu> #13
Same issue. useLibrary("android.car")
does nothing.
Still reproducible on:
Android Studio Flamingo | 2022.2.1 Canary 8
Build #AI-222.4345.14.2221.9252092, built on November 3, 2022
Runtime version: 17.0.4.1+0-17.0.4.1b469.62-9127311 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.0.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
gradle.version.catalogs.dynamic.support=true
Non-Bundled Plugins:
idea.plugin.protoeditor (222.4345.14)
and
Android Studio Dolphin | 2021.3.1 Patch 1
Build #AI-213.7172.25.2113.9123335, built on September 30, 2022
Runtime version: 11.0.13+0-b1751.21-8125866 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.0.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
external.system.auto.import.disabled=true
debugger.watches.in.variables=false
ide.text.editor.with.preview.show.floating.toolbar=false
ide.balloon.shadow.size=0
Non-Bundled Plugins:
wu.seal.tool.jsontokotlin (3.7.4)
some.awesome (1.14)
idea.plugin.protoeditor (213.6461.28)
com.intellij.marketplace (213.7172.48)
uk.co.itmoore.intellisubsteps (1.1.0)
gherkin (213.6461.19)
cucumber-java (213.5744.125)
com.thoughtworks.gauge (213.5744.125)
Same results if external.system.auto.import.disabled=true
flag is removed (by pressing Shift twice and typing "registry")
ga...@google.com <ga...@google.com> #14
Here is an even smaller project that reproduces the issue of unresolved symbols after Gradle sync.
so...@google.com <so...@google.com> #15
Thank you! I can reproduce the problem and I have a draft change that fixes it.
so...@google.com <so...@google.com> #16
For now fixed for projects using new AGPs (7.3+).
co...@gmail.com <co...@gmail.com> #17
so...@google.com <so...@google.com> #18
It requires a new version of android Studio. The initial fix worked with newer AGPs only. The support is now added for older version of the AGP (but it requires a new version of Android Studio).
so...@google.com <so...@google.com> #19
None of the fixes is included in any publicly available versions of Android Studio yet.
ad...@gmail.com <ad...@gmail.com> #20
sa...@google.com <sa...@google.com> #21
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Giraffe Canary 1 (2022.3.1.1)
- Android Gradle Plugin 8.1.0
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
DESCRIBE THE ISSUE IN DETAIL: As per attached screenshot, "Car" library fails to resolve from Android Studio "Chipmunk" ("ArcticFox" and "Bumblebee" were OK)
STEPS TO REPRODUCE:
(Attached project also has README and additional screenshots)
Note: attached project was generated in "ArcticFox" for maximum compatibility across Android Studio releases mentioned in this ticket
(Attempting to use markdown below, apologies if it doesn't work) alt text
Studio Build: various, as explained above Version of Gradle Plugin: 7.0.4 Version of Gradle: 7.0.2 Version of Java: OS: Mac OS, ARM chip