- Home /
Question by
amitooshacham · Apr 09, 2015 at 09:24 AM ·
buildbuild-errorexceptionunity 3.4
Unity 3.4 Error Building Player
When I try to build and run Unity 3.4 I get these two errors:
Error building Player: Win32Exception: ApplicationName='C:\...\tools\apkbuilder.bat', CommandLine='"C:\...\Temp/StagingArea/Package_unaligned.apk"
-v -z "C:\...\Temp/StagingArea/assets.ap_"
-z "C:\...\Temp/StagingArea/bin/resources.ap_"
-nf "C:\...\Temp/StagingArea/libs" -f "C:\...\Temp/StagingArea/bin/classes.dex"', CurrentDirectory='Temp/StagingArea' UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Exception: Error building Player: Win32Exception: ApplicationName='C:/...\tools\apkbuilder.bat', CommandLine='"C:\...\Temp/StagingArea/Package_unaligned.apk" -v -z "C:\...\Temp/StagingArea/assets.ap_" -z "C:\...\Temp/StagingArea/bin/resources.ap_" -nf "C:\...\Temp/StagingArea/libs" -f "C:\...\Temp/StagingArea/bin/classes.dex"', CurrentDirectory='Temp/StagingArea'
UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:367)
UnityEditor.BuildPlayerWindow.BuildPlayerAndRun () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:291)
I tried different solutions suggested, such as installing JDK 32 bit, adding the correct folder to the PATH environment variables, copying the zipalign.exe file to the main SDK folder. None of these work. Any other ideas ? I also have Unity 5.0 on my computer and the same project works fine with it, but I need to test this project on Unity 3.4.
Thanks.
Comment
Hi, just out of curiosity - why are you using Unity 3.4 for this project?
@SaraCecilia I am making a wrapper so I need to make sure all Unity versions are supported.
Your answer