Fixed
Status Update
Comments
ya...@google.com <ya...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Lint options:
lintOptions {
lintConfig = file('lint.xml')
abortOnError true
xmlReport true
htmlReport true
checkDependencies true
}
Also, our project has custom lint rules. Failure happens with a dependency of 26.6.3 and 27.0.0.
Is any way to downgrade lint runner? This problem is keeping us from using AGP 4.0
Description
The explanation provided by the AccessibilityDetector lint check suggests an outdated approach (using
tools:ignore=“ContentDescription”
).It is also a different approach from what's documented today in the url linked in that lint check which states:
"If your UI includes graphical elements that are used for decorative effect only, set their descriptions to "@null". If your app's minSdkVersion is 16 or higher, you can instead set these graphical elements' android:importantForAccessibility attributes to "no"."
I believe the check's explanation is misleading and should be updated.