Status Update
Comments
sa...@google.com <sa...@google.com>
js...@google.com <js...@google.com>
js...@google.com <js...@google.com>
js...@google.com <js...@google.com> #2
I've submitted a fix for this, which should (I hope) make it into Jellyfish Canary 12. There's a relatively straightforward workaround, which is to explicitly declare the version of the com.android.tools.build:gradle
artifact in all build files -- in the screenshot, your project has a versioned classpath
dependency, but also an unversioned one, and it's that unversioned one that tripped up the AGP Upgrade Assistant. Since there is that workaround of making sure that all the classpath dependencies on com.android.tools.build:gradle
have an explicit version, we probably won't patch this for Iguana, I'm afraid.
Thanks very much for the report!
da...@gmail.com <da...@gmail.com> #3
da...@gmail.com <da...@gmail.com> #4
an...@google.com <an...@google.com> #5
an...@google.com <an...@google.com> #6
same problem in latest koala, AGP upgrade assistant never opens
Please could you open a new issue, and upload enough details about your project to be able to investigate or (ideally) reproduce the problem? Thank you!
js...@google.com <js...@google.com> #7
Sorry again for introducing a regression on "patch." Alas, there won't be the next patch for that patch, i.e., no AGP 8.6.2 apparently. However, as shown at
Description
The following code fails with
WrongConstant
when running./gradlew lint
under AGP 8.6.1. It passes with AGP 8.6.0.Likely regression from https://issuetracker.google.com/issues/364261817
Minimal Reproducible Example
STEPS TO REPRODUCE:
MyApplication2.zip
./gradlew lint
- failslibs.versions.toml
: change AGP to 8.6.0./gradlew lint
- passesLikely Cause