Fixed
Status Update
Comments
xa...@google.com <xa...@google.com> #2
Also note that in the above error message, there's a note about compatibility with AGP. This should be taken into account and possibly first require an AGP upgrade.
er...@google.com <er...@google.com>
xa...@google.com <xa...@google.com> #3
Triaged as AGP because we probably need to pass the info to Studio in some other way to be able to parse it easily.
je...@google.com <je...@google.com>
am...@google.com <am...@google.com>
am...@google.com <am...@google.com>
an...@google.com <an...@google.com> #4
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 Iguana | 2023.2.1 Canary 17
- Android Gradle Plugin 8.3.0-alpha17
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
Upgrading to a new dependency may trigger an error if the new dependency requires a
compileSdk
that's higher than the one used in the project.The error, coming from Gradle will look like this:
(it's possible the formatting is slightly different if there's only one issue).
Studio should provide a quick fix on this to automatically upgrade
compileSdk
to the right version.