Fixed
Status Update
Comments
sg...@google.com <sg...@google.com>
cl...@google.com <cl...@google.com> #2
deleted
cl...@google.com <cl...@google.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?
ap...@google.com <ap...@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
ap...@google.com <ap...@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?
ap...@google.com <ap...@google.com> #6
Yes, always run the dex transform non-incrementally is another workaround.
cl...@google.com <cl...@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
Versions
Description
After processing the testcase source code with R8, we used JADX for decompilation and obtained the following result, which is clearly different in semantics and output from the original source code. Comparing the JADX parsing results with the source code, it is the error that eliminates one assignment of test.a, which may due to redundant store elimination. We also conducted some tests using D8 instead of R8, and no similar issues occurred, so it can be confirmed that the problem lies with R8.
Step to Reproduce
Expected Result
Actual Result
Testcase Source Code