- Home /
Question by
PanaitStudio · Jan 18, 2015 at 10:02 PM ·
androiderror
Error when building the game for Android
When I try to build my game, Unity gives me this error:
Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
C:\Program Files (x86)\Java\jdk1.8.0_25\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="D:/Users/PanaitStudio/Desktop/adt-bundle-windows-x86_64-20140702/sdk\tools" -Dfile.encoding=UTF8 -jar "D:/Programe/Unity 4.5.0b21/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -
What should I do?
Comment
It seems like it might be caused by having duplicate files (possible .jar files) or from plugins conflicts. You can check this page for some info that might help: http://forum.unity3d.com/threads/unable-to-convert-classes-to-dex-format-android-issue.197061/
There should be more info on the reason of the error in the log: http://docs.unity3d.com/$$anonymous$$anual/LogFiles.html
Your answer
Follow this Question
Related Questions
Connect Andorid Phone and get error 1 Answer
Unity Editor & iOS - Download MP4 to Streaming Assets Folder 0 Answers
errors building on android 0 Answers
Console error after selecting Android SDK location 1 Answer
Setting things up for android 1 Answer