Status Update
Comments
hu...@google.com <hu...@google.com>
js...@google.com <js...@google.com> #2
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 3
- Android Gradle Plugin 8.8.0-alpha03
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!
ey...@gmail.com <ey...@gmail.com> #3
It's 2.0.20. This only happened after updating AGP to 8.7.0. Did something change there that would surface this issue?
js...@google.com <js...@google.com> #4
Did something change there that would surface this issue?
If you're asking some changes between 8.6.0 and 8.7.0, yes, almost every AGP version includes some artifact upgrades for Kotlin compiler, UAST from IntelliJ, and so on.
I can reproduce the issue, and the culprit seems to be this relaxation:
js...@google.com <js...@google.com>
an...@google.com <an...@google.com> #5
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!
ey...@gmail.com <ey...@gmail.com> #6
Will this fix make it into 8.7.x?
js...@google.com <js...@google.com> #7
Thanks for the question; I missed the patch 1, but then realized that the patch 2 is due soon. I'll prepare the cherry-pick.
js...@google.com <js...@google.com> #8
^ Done. Will be in 8.7.2
an...@google.com <an...@google.com> #9
The fixes for this issue are now also available in:
- Android Studio Ladybug | 2024.2.1 Patch 2
- Android Gradle Plugin 8.7.2
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Description
DESCRIBE THE ISSUE IN DETAIL:
After updating to 8.7.0 I am getting a false positive RestrictedApi error saying that I cannot call
NavOptionsBuilder.popUpTo
because it is restricted to the library scope.My call:
popUpTo
resolves to:which does not have a
RestrictTo
annotation. There is an overload that does though: