Error from inside the Android tools, check the console xml:720 xml:734 javac.exe

edited March 2014 in Android Mode

I'm trying to use processing in Android Mode. The sketch works fine on java mode. This is the sketch I'm using:

/*
World's simplest Android App!
blprnt@blprnt.com
Sept 25, 2010
*/

// Build a container to hold the current rotation of the box
float boxRotation = 0;

void setup() {
  // Set the size of the screen (this is not really necessary 
  // in Android mode, but we'll do it anyway)
  size(480,800);
  // Turn on smoothing to make everything pretty.
  smooth();
  // Set the fill and stroke color for the box and circle
  fill(255);
  stroke(255);
  // Tell the rectangles to draw from the center point (the default is the TL corner)
  rectMode(CENTER);
}

void draw() {
  // Set the background color, which gets more red as we move our finger down the screen.
  background(mouseY * (255.0/800), 100, 0);
  // Change our box rotation depending on how our finger has moved right-to-left
  boxRotation += (float) (pmouseX - mouseX)/100;

  // Draw the ball-and-stick
  line(width/2, height/2, mouseX, mouseY);
  ellipse(mouseX, mouseY, 40, 40);

  // Draw the box
  pushMatrix();
  translate(width/2, height/2);
  rotate(boxRotation);
  rect(0,0, 150, 150);
  popMatrix();
}

Then I get this message: Error from inside the Android tools, check the console And this is what appears on the console:

-build-setup:
Using latest Build Tools: 19.0.0
     [echo] Resolving Build Target for AndroidTest...
Project Target:   Android 2.3.3
API level:        10
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\bin
    [mkdir] Created dir: C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\bin\res
    [mkdir] Created dir: C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\bin\rsObj
    [mkdir] Created dir: C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\bin\rsLibs
    [mkdir] Created dir: C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\gen
    [mkdir] Created dir: C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\bin\classes
    [mkdir] Created dir: C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\bin\dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for AndroidTest...
Library dependencies:
No Libraries

------------------
API<=15: Adding annotations.jar to the classpath.
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 3 source files to C:\Users\GUILLE~1\AppData\Local\Temp\android951919651504284445sketch\bin\classes

BUILD FAILED
C:\ADT\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\ADT\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:734: Error running javac.exe compiler

Total time: 1 second

Does someone knows which can be the error?

Answers

Sign In or Register to comment.