Status Update
Comments
ma...@gmail.com <ma...@gmail.com> #2
as soon as any subproject consumes a
Unresolved module dependency (...) Neither the source set nor the artifact property was populated by the Android Gradle plugin.
this is a regression, it worked fine in all versions prior to 7.3.0.
ma...@gmail.com <ma...@gmail.com> #3
al...@raiffeisen.ru <al...@raiffeisen.ru> #4
ra...@google.com <ra...@google.com>
ag...@gmail.com <ag...@gmail.com> #5
I don't know why I can't create a new issues now. It only displays the error "You do not have permission to create issues in this component.".So I report new issues here.
AGP 7.3.0 make this
sourceProvider.res.srcDir(outputDirectory) This function does not work.Is there any alternative?
je...@google.com <je...@google.com>
so...@google.com <so...@google.com> #6
I have tried to reproduce the issue and configurations I tried seem to work as intended.
Could some please share a sample project with us that fails to sync? Thank you!
iv...@adevinta.com <iv...@adevinta.com> #7
ga...@google.com <ga...@google.com> #8
Thanks! I was able to reproduce with the sample project, we are looking into this.
Update: Downgrading to AGP 7.2 fixes the issue.
ga...@google.com <ga...@google.com> #9
With 7.2.0, AGP models do not contain dependency on the platform project, so project import does have to deal with this scenario.
Starting from 7.3.0-beta05 (in ag/c68c7e86e885bb2ca0f92124d9275db9c8200046), AGP models started containing java-platform project (and all of its dependencies), which breaks IDE import. In the IDE, we assume that if there is a project dependency it has to be one of the following:
- an Android project
- a non-Android project that resolves to an actual file
For java-platform
projects, neither 1) nor 2) is true.
Then in 7.4.0-alpha08 (in ag/If568d2640d9001567d23a8734f6b1871b67f8007), we started filtering java-platform projects again (and all of its dependencies).
ga...@google.com <ga...@google.com> #10
Fix for this issue should be released in AGP 7.3.1, and behavior will be the same like in 7.2.0 and 7.4.0-alpha08+. Change is If568d2640d9001567d23a8734f6b1871b67f8007.
There is a long-standing problem that if allowDependencies()
is used in the java-platform
project, and those dependencies are not declared in the consuming project, the IDE may have missing symbols. This is tracked in
ga...@google.com <ga...@google.com> #12
Re #11: Sorry, we cannot share exact release dates (team policy). I can only share that it should be matter of weeks, not months, before it is published (assuming no significant blockers are found).
Description
as soon as any subproject consumes a gradle platform project android studio gradle sync will fail with
this is a regression, it worked fine in all versions prior to 7.3.0.