Status Update
Comments
rk...@google.com <rk...@google.com>
tn...@google.com <tn...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
-
Are you reporting this as a Developer or User?
-
Please confirm if you are using any third party application as a launcher?
-
Could you please provide a screen record of the issue for us to further investigate?
Note: Please upload the files to google drive and share the folder to
an...@steadfastinnovation.com <an...@steadfastinnovation.com> #3
- I am a User
- No third party launcher using Default pixel launcher
- I cannot for now recreate the bug but will enable screen record and upload when caught
sg...@google.com <sg...@google.com> #4
Thank you for your response.
Once you are able to reproduce this bug, please upload the screen record of the issue.
tn...@google.com <tn...@google.com> #6
Please provide the requested information to proceed further. Unfortunately the issue will be closed within 7 days if there is no further update.
an...@google.com <an...@google.com> #7
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 Meerkat | 2024.3.1 Canary 5
- Android Gradle Plugin 8.9.0-alpha05
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
java.nio
APIs can be used below API 26 withcoreLibraryDesugaring "com.android.tools:desugar_jdk_libs_nio:2.1.3"
. However, as described in thejava.nio
customizations documentationFor example, running the following on API 21 produces a
java.lang.UnsupportedOperationException
:This is expected per the documentation, but is not discoverable except at runtime.
However, when using
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.1.3"
(the non-nio artifact), usages of this API (and all otherjava.nio
APIs) produce lint errors unless wrapped in checks for API 26+.Is it possible to show lint errors just for the APIs that will fail at runtime when they're not wrapped in API checks for API 26+ when using
desugar_jdk_libs_nio
? That way the build will fail rather than discovering this at runtime.