By Rickb
on Wed, 06/20/2012 - 17:09
Hi,
I have this problem for the last two days in trying to export my AR project to my android device (samsung galaxy 10.1) and it gives me this "Buiding dex Failed" error.
I use the the qualtomm target image with the lastest installation and unity3.4. I am not using the unity 3.5 because it does not show the emulator option unde the player setting - device filter option.
I read some forums in regards to this issue but no solutions were found really if only the one mentioning to update to latest java - which it is.
Error message:
Building DEX Failed!
C:\Softs Projects Documents\Unity3D\Unity3D_Android_XX5\Temp/StagingArea> java -Xmx1024M -Djava.ext.dirs="C:/Program Files (x86)/Android/android-sdk-windows\platform-tools/lib/" -jar "C:/Program Files (x86)/Android/android-sdk-windows\platform-tools/lib/dx.jar" --dex --verbose --output=bin/classes.dex bin/classes.jar plugins
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Thanks
Rick
Re: Building dex Failed
Re: Building dex Failed
Re: Building dex Failed
Re: Building dex Failed
Re: Building dex Failed
Re: Building dex Failed
Re: Building dex Failed
Re: Building dex Failed- logcat ouput
Re: Building dex Failed
Re: Building dex Failed
Re: Building dex Failed - Solved
Re: Building dex Failed - Resolved
Re: Building dex Failed
Re: Building dex Failed