Log in or register to post comments

Unity 3.4 Build and Run ERROR

August 25, 2011 - 12:50pm #1

HI All,

Firstly apologies if this has been asked before, I've checked and can't seem to find a related thread.

I get the following error when trying to 'Build and Run' the getting started with unity example from the following page: https://ar.qualcomm.at/qdevnet/sdk/android/318

Error building Player: Win32Exception: ApplicationName='java.exe', CommandLine='-Dcom.android.sdkmanager.toolsdir="C:/Development/Android/android-sdk-windows\tools" -classpath "C:/Development/Android/android-sdk-windows\tools\lib\sdkmanager.jar" com.android.sdkmanager.Main list targets', CurrentDirectory=''
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

I've followed all instructions to the letter, I've kind of come to the conclusion that the following path is incorrect C:/Development/Android/android-sdk-windows\tools\lib\sdkmanager.jar and that it should simply be C:/Development/Android/android-sdk-windows\sdkmanager.jar but I've no idea how to change it.

Any help resolving this issue will be much appreciated.

Cheers,

Chris.

Re: Unity 3.4 Build and Run ERROR

August 30, 2011 - 3:25am #3

thanks Kim.

That did it :)

Re: Unity 3.4 Build and Run ERROR

August 28, 2011 - 11:29am #2

Do you have the 64-bit version of Java installed? I believe you need the 32-bit version. See this thread from Unity Answers:

http://answers.unity3d.com/questions/151657/exception-while-building-for-android.html

- Kim

Log in or register to post comments