Status Update
Comments
ch...@google.com <ch...@google.com>
jl...@google.com <jl...@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
di...@google.com <di...@google.com>
aa...@google.com <aa...@google.com>
an...@google.com <an...@google.com> #3
Attached slightly different stacktrace for the same problem.
Wonder if disabling some lint rules could help to "fix" this problem, as it is also blocking for us 4.0 AGP upgrade.
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #4
Notes:
I suspect the exceptions are happening now because JetBrains recently changed an assert
statement into a hard failure (see
I.e., it's possible that Lint has been hitting this code path all along, and only now it is causing a problem.
This has been difficult to investigate so far because the failure is nondeterministic and also deep inside the Kotlin compiler. Plus, JetBrains seems to be hitting this code path occasionally too (hence why they changed the assert into a hard failure), so I'm not even sure whether Lint is implicated or not.
Description
Build: AI-213.7172.25.2113.9123335, 202209300301,
AI-213.7172.25.2113.9123335, JRE 11.0.13+0-b1751.21-8125866x64 JetBrains s.r.o., OS Windows 10(amd64) v10.0 , screens 1920.0x1080.0
AS: Dolphin | 2021.3.1 Patch 1 Kotlin plugin: 213-1.7.20-release-for-android-studio-AS6777.52 Android Gradle Plugin: 7.2.1 Gradle: 7.3.3 Gradle JDK: version 11.0.13 NDK: from local.properties: (not specified), latest from SDK: (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.
Dear Google one of my employee made a mistake in their code while givving id to a view they give "@drawable/ic_location" the error is showing when we run it not when we write it, was hard to find this error
Thank you for understanding, will be waiting for your reply Regard Askat.