Fixed
Status Update
Comments
ar...@google.com <ar...@google.com>
je...@google.com <je...@google.com>
hu...@google.com <hu...@google.com> #2
Thanks Tor for detecting this!
androidx.databinding:databinding-compiler
is the (only) exception to the Jetifier check. This issue will be fixed in AGP 7.2.0 and 7.3.0-beta01.
Fixing change:
de...@google.com <de...@google.com> #3
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 Dolphin Canary 9 (2021.3.1.9)
- Android Gradle Plugin 7.3.0-alpha09
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
I tried running the build analyzer on thehttps://github.com/android/architecture-samples project (with a few minor tweaks -- using 7.3.0-dev, and compose 1.2.0-alpha06 instead of 1.1.1).
The Jetifier check claims that jetifier is needed because of the androidx.databinding library. But I see it's saying this about version 7.3.0 of the compiler; and it would be surprising if a version that new actually requires the jetifier. So I tried turning off the flag manually, and sure enough the project builds. So I'm assuming this is a false positive for the jetifier analysis?
Build: AI-213.7172.25.2113.SNAPSHOT, 202204021234,
AI-213.7172.25.2113.SNAPSHOT, JRE 11.0.13+0-b1751.21-8125866x64 JetBrains s.r.o., OS Mac OS X(aarch64) v12.3.1, screens 3456.0x2234.0; Retina
AS: dev build; Kotlin plugin: 213-1.6.20-M1-release-for-android-studio-AS6777.52; Android Gradle Plugin: 7.3.0-dev; Gradle: 7.4; Gradle JDK: version 11.0.13; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply all required information.