android - DexIndexOverflowException when running androidTests -


when running ./gradlew clean connectedwithanalyticswithclouddebugandroidtest getting error:

* went wrong: execution failed task ':android:transformclasseswithdexforwithanalyticswithclouddebug'. > com.android.build.api.transform.transformexception: com.android.ide.common.process.processexception: java.util.concurrent.executionexception: com.android.dex.dexindexoverflowexception: method id not in [0, 0xffff]: 65536 

but on app-side safe: ./gradlew clean assemblewithanalyticswithcloudrelease ends in:

total methods in gobandroid-2.4.1-withanalytics-withcloud-release-unsigned.apk: 31976 (48.79% used) total fields in gobandroid-2.4.1-withanalytics-withcloud-release-unsigned.apk:  14955 (22.82% used) methods remaining in gobandroid-2.4.1-withanalytics-withcloud-release-unsigned.apk: 33559 fields remaining in gobandroid-2.4.1-withanalytics-withcloud-release-unsigned.apk:  50580  build successful 

i not want activate multidex not needed app - run tests. there way enable multidex tests?


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -