android - Unable to build apk -


i working on current location tracking when trying build apk showing errors while building apk.i not getting problem.

error:the number of method references in .dex file cannot exceed 64k. learn how resolve issue @ https://developer.android.com/tools/building/multidex.html

error:execution failed task ':app:transformclasseswithdexfordebug'.

com.android.build.api.transform.transformexception: com.android.ide.common.process.processexception: java.util.concurrent.executionexception: com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\program files\java\jdk1.8.0_101\bin\java.exe'' finished non-zero exit value 2

in build.gradle add line , try again:

multidexenabled true


Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -