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
Post a Comment