Status Update
Comments
an...@gmail.com <an...@gmail.com> #2
This upgrade assistant change will add android.defaults.buildfeatures.resvalues=true
to the gradle.properties
file in AGP 9.0.0, and there will be a separate refactoring option to move the flag (when necessary) to the build files (DSL).
ad...@google.com <ad...@google.com>
xa...@google.com <xa...@google.com>
ss...@gmail.com <ss...@gmail.com> #3
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 Ladybug Feature Drop | 2024.2.2 Canary 6
- Android Gradle Plugin 8.8.0-alpha06
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!
ss...@gmail.com <ss...@gmail.com> #4
Note: I just tried with Bumblebee Beta 5
with the same code, and it's working fine.
an...@gmail.com <an...@gmail.com> #5
Tried again with Gradle 7.3.3, AGP 7.1.0, Kotlin 1.5.31 and it still fails with both Chipmunk Beta 1
and Dolphin Canary 1
ga...@google.com <ga...@google.com> #6
ga...@google.com <ga...@google.com> #7
The structure of project from #6 is the following:
- app: application project, depends on core
- core: KMP project, has only JVM and common
Without MPSS, this does not break as:
- during dependency resolution we assume that app depends on MAIN sourceset from core
- w/o MPSS, in
AndroidGradleProjectResolver
we will register MAIN sourceset for core
=> data from 1) will match to mapping information in 2), so nothing breaks.
With MPSS:
- during dependency resolution we assume that app depends on MAIN sourceset from core
- with MPSS, in
AndroidGradleProjectResolver
, we register a more correct information about core, and we havejvmMain
,commonMain
,jvmTest
,commonTest
sourcesets.
=> this means there is no correct mapping from 1) to 2) i.e sync fails.
so...@google.com <so...@google.com> #8
ir...@gmail.com <ir...@gmail.com> #9
still fails AS Dolphin Canary 3
ss...@gmail.com <ss...@gmail.com> #10
Still failing in AS Dolphin Canary 5
cp...@gmail.com <cp...@gmail.com> #11
sm...@google.com <sm...@google.com> #12
Thanks for the report, this should be fixed in the upcoming Dolphin betas please let us know if this it not the case.
an...@gmail.com <an...@gmail.com> #13
Thanks! It's not clear from your message, but will it also be backported to a Chipmunk release too, as the issue started to appear starting from that version?
sm...@google.com <sm...@google.com> #14
There will be a limited fix included within Chipmunk, it will stop crashing and should set up direct dependencies on KMP modules (your example project should work okay) however it might not setup dependencies on some KMP source set modules (e.g commonMain). These other KMP dependencies should all be there the latest Dolphin Canaries however.
de...@google.com <de...@google.com> #15
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 Dolphin Canary 9 (2021.3.1.9)
- Android Gradle Plugin 7.3.0-alpha09
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!
so...@google.com <so...@google.com> #16
Please fix or remove // TODO(b/208357458):
s in the source code.
Description
DESCRIBE THE ISSUE IN DETAIL: Getting an error during sync. The project syncs just fine in anything other than Chipmunk. Please see the attached reproduction project, but we also see this in our main project at work. The issue seems to involve a module that is Kotlin Multiplatform.
STEPS TO REPRODUCE:
Loading the project in Arctic Fox and Bumblebee works without any modifications.
Following error is present in the logs that might pin point to the issue:
Android Studio Chipmunk | 2021.2.1 Canary 5 | Build #AI-212.5457.46.2112.7905983, built on November 11, 2021
Runtime version: 11.0.12+0-b1504.28-7817840 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
OS: macOS 11.5.2
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: ski.chrzanow.foldableprojectview (1.1.1)
Kotlin: 1.5.31
Groovy: 3.0.9
Gradle: 7.3