Method too large when test coverage is enabled

423
2
03-16-2023 09:23 AM
JamesAllenspach
New Contributor

We are building an Android app with Esri 100.15.1, Android SDK 31, NativeScript 8.4.0, and Gradle 7.5. During the Gradle build we get this exception:

Execution failed for task ':app:mergeExtDexDebug'.
Method too large: com/esri/arcgisruntime/internal/util/j$a.<clinit> ()V

If we set "testCoverageEnabled" to false, then the build succeeds, presumably because there is Esri test code not being included.

Can you provide some insight as to what's causing the issue, and how we can address it? Thanks in advance.

Tags (2)
0 Kudos
2 Replies
JanGodlewski
New Contributor II

Hi James, were you able to fix the issue? 

0 Kudos
JanGodlewski
New Contributor II

I have similar issue unfortunately

0 Kudos