Unity3d android build error.

Error building Player: Win32Exception: ApplicationName=‘C:\Program Files (x86)\Java\jre7\bin\javac.exe’, CommandLine=‘-bootclasspath “C:/Users/username/Desktop/adt-bundle-windows-x86_64-20130917/sdk/platforms/android-18\android.jar” -d “C:\Users\username\Documents\game\Temp\StagingArea\bin\classes” -source 1.6 -target 1.6 -encoding ascii “com\facebook\android\R.java” “com\RTyGR\game\R.java”’, CurrentDirectory=‘C:\Users\username\Documents\game\Temp\StagingArea\gen’

I honestly have no idea. 0.0

You must install the JDK and set the JAVA_HOME environment variable to C:\Program Files\Java\jdk1.7.0_45
You must also add the jdk bin folder to your PATH: C:\Program Files\Java\jdk1.7.0_45\bin
You must then reboot.
That did it for me.

Same thing here…