Completed
Issue with Android Gradle Plugin 7.2.0 and higher
We have been experiencing an issue with Android Gradle Plugin 7.2.0 and higher on debug builds in runtime.
The error seen is - java.lang.VerifyError
We are looking into a solution, and meanwhile we suggest a workaround, downgrading to AGP 7.1.3.
1
Comments
Hi Phillip, we're still on it, will update as soon as there is any change.
Has there been any movement on this issue? Thanks!
Phillip,
Any changes you can share a minimum project where the issue can be reproduced? Maybe a github link, nothing special just the minimum to run it and reproduce it.
Thanks
We have found a temporary work around and the cause for this issue -
A current workaround is removing the following properties which are under BuildTypes in build.gradle of the app)
testCoverageEnabled
or enableAndroidTestCoverage (Android Gradle 7.3 and above)
These properties are only important when running coverage tests.
testCoverEnabled is deprecated starting Android Gradle Plugin 7.3.
it is replaced by - enableAndroidTestCoverage and enableUnitTestCoverage.
the same crash will appear when using enableAndroidTestCoverage.
A fix has been released. Please take SDK/plugin 2.19.1 and later.
Please sign in to leave a comment.