Fixed
Status Update
Comments
cm...@google.com <cm...@google.com>
jl...@google.com <jl...@google.com>
tn...@google.com <tn...@google.com>
ju...@veepee.com <ju...@veepee.com> #3
(reposting under work account)
We have been hitting this issue constantly. Is it possible to configure those tasks to be non cacheable as a workaround or is that only possible inside of AGP?
tn...@google.com <tn...@google.com> #4
Currently the only way to disable caching for dexing transforms is to patch AGP manually by providing a patched DexTransform.kt
file in buildSrc
. Please see
an...@google.com <an...@google.com> #5
Thanks. Ignoring potential build perf impacts, if we essentially commented out the processIncrementally
block in DexingTransform.kt
and always ran non-incrementally, would that workaround this issue?
rv...@mozilla.com <rv...@mozilla.com> #6
Yes, always run the dex transform non-incrementally is another workaround.
tn...@google.com <tn...@google.com> #7
Is it possible to do same patch with included build?
an...@google.com <an...@google.com> #8
I guess so, could you give it a try?
an...@google.com <an...@google.com> #9
I've tried(not very neat) but it only work with buildSrc
Anyway, what about issue, I've tried a lot of attempts to fix and helped only turn off jacoco transformation `useJacocoTransformInstrumentation = false`.
What was changed in agp 7.4.x from 7.3.1 that break this?
Anyway, what about issue, I've tried a lot of attempts to fix and helped only turn off jacoco transformation `useJacocoTransformInstrumentation = false`.
What was changed in agp 7.4.x from 7.3.1 that break this?
Description
Describe the bug or issue that you're seeing.
After updating to AGP 8.5 and Lint 31.5.0, Lint complains when
TextView
text is set to an empty string. For example,appCompatTextView.text = ""
. Error appears in Android Studio (empty string is highlighted), but also./gradlew app:lintDebug
fails.Attach log files from Android Studio
I believe logs are irrelevant because
./gradlew app:lintDebug
executed from the terminal also give the same error.If you know what they are, write the steps to reproduce:
There is an example code that violates Lint SetTextI18n.