Build Failed - split from "Build.Xml Error"

edited February 2014 in Android Mode
This discussion was created from comments split from: Build.Xml Error.

Comments

  • I think I might have the same problem but couldn't solve it. I'm on Windows8x64, Processing 2.1.1, Android SDK Tools Revision 22.3.0, Build Tools: 18.1.0, Project Target: Android 2.3.3, API level: 10. I set the ADB address in PATH and JAVA_HOME to the jdk directory. Compiling a basic sketch and receiving this: BUILD FAILED C:\android-sdk\sdk\tools\ant\build.xml:720: The following error occurred while executing this line: C:\android-sdk\sdk\tools\ant\build.xml:734: Error running javac.exe compiler

    What did I missed?

  • @dan: Try adding \bin to the JAVA_HOME variable. For some reason, it seems like ANT can't find the Java compiler (javac) at the root level.

    P.S.: This problem is different from @porfa's problem...

  • Hi Dan, I was experiencing this problem too but something as simple as downgrading from processing 2.1.1 to 2.0.3 worked for me

  • I had already put the \bin on the path. But 2.0.3 worked smoothly as I tried it. Thank you a lot Tanay! Yesterday night I lost quite a time trying to make it works.

Sign In or Register to comment.