Log in or register to post comments

Unable to convert classes into dex format

January 10, 2019 - 1:45am #1

I am using Unity 2018.2.0.0f2 with Vuforia 6-2-10 and JDK1.8.0_77 and nothing else. I have also tried changing the sdk and jdk paths still the error won't go. I have also tried deleting the duplicate files but it just seems too many of them moreover I can only find duplicate .dll files and not (.arr) and (.jar) files. I have also tried reinstalling the android and iOS support from the Unity Download Assistant but still I am getting the same error. Here's the error log:

CommandInvokationFailure: Unable to convert classes into dex format.

C:/NVPACK/jdk1.8.0_77\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/NVPACK/android-sdk-windows\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[

Error:Invalid command dx

]

stdout[

]

exit code: 64

UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)

UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)

UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)

UnityEditor.Android.AndroidSDKTools.RunCommand (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg, Int32 memoryMB)

UnityEngine.GUIUtility: ProcessEvent(Int32, IntPtr)

Log in or register to post comments