Errors while using 'ant debug' for android

I’m trying to compile SDL 1.3 for android and i’m running into errors at the ‘ant debug’ step.
Everything is good up until this step… Any Ideas?

Code:

C:\Android>ant debug

Buildfile: C:\Android\build.xml

-set-mode-check:

-set-debug-files:

-set-debug-mode:

-debug-obfuscation-check:

-setup:
[echo] Gathering info for SDLapp…
[setup] Android SDK Tools Revision 16
[setup] Project Target: Android 1.6
[setup] API level: 4
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: No minSdkVersion value set. Application will install on all
Android versions.

-build-setup:
[echo] Creating output directories if needed…
[mkdir] Created dir: C:\Android\bin
[mkdir] Created dir: C:\Android\bin\res
[mkdir] Created dir: C:\Android\gen
[mkdir] Created dir: C:\Android\bin\classes

-pre-build:

-code-gen:
[echo] ----------
[echo] Handling aidl files…
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files…
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources…
[aapt] Generating resource IDs…

-pre-compile:

-compile:
[javac] Compiling 2 source files to C:\Android\bin\classes
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:522: error: cannot fi
nd symbol
[javac] final int pointerCount = event.getPointerCount();
[javac] ^
[javac] symbol: method getPointerCount()
[javac] location: variable event of type MotionEvent
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:524: error: cannot fi
nd symbol
[javac] int actionPointerIndex = event.getActionIndex();
[javac] ^
[javac] symbol: method getActionIndex()
[javac] location: variable event of type MotionEvent
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:525: error: cannot fi
nd symbol
[javac] int pointerFingerId = event.getPointerId(actionPointerI
ndex);
[javac] ^
[javac] symbol: method getPointerId(int)
[javac] location: variable event of type MotionEvent
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:526: error: cannot fi
nd symbol
[javac] int action = event.getActionMasked();
[javac] ^
[javac] symbol: method getActionMasked()
[javac] location: variable event of type MotionEvent
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:528: error: method ge
tX in class MotionEvent cannot be applied to given types;
[javac] float x = event.getX(actionPointerIndex);
[javac] ^
[javac] required: no arguments
[javac] found: int
[javac] reason: actual and formal argument lists differ in length
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:529: error: method ge
tY in class MotionEvent cannot be applied to given types;
[javac] float y = event.getY(actionPointerIndex);
[javac] ^
[javac] required: no arguments
[javac] found: int
[javac] reason: actual and formal argument lists differ in length
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:530: error: method ge
tPressure in class MotionEvent cannot be applied to given types;
[javac] float p = event.getPressure(actionPointerIndex);
[javac] ^
[javac] required: no arguments
[javac] found: int
[javac] reason: actual and formal argument lists differ in length
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:536: error: cannot fi
nd symbol
[javac] pointerFingerId = event.getPointerId(i);
[javac] ^
[javac] symbol: method getPointerId(int)
[javac] location: variable event of type MotionEvent
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:537: error: method ge
tX in class MotionEvent cannot be applied to given types;
[javac] x = event.getX(i);
[javac] ^
[javac] required: no arguments
[javac] found: int
[javac] reason: actual and formal argument lists differ in length
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:538: error: method ge
tY in class MotionEvent cannot be applied to given types;
[javac] y = event.getY(i);
[javac] ^
[javac] required: no arguments
[javac] found: int
[javac] reason: actual and formal argument lists differ in length
[javac] C:\Android\src\org\libsdl\app\SDLActivity.java:539: error: method ge
tPressure in class MotionEvent cannot be applied to given types;
[javac] p = event.getPressure(i);
[javac] ^
[javac] required: no arguments
[javac] found: int
[javac] reason: actual and formal argument lists differ in length
[javac] 11 errors

BUILD FAILED
C:\Program Files\Android\android-sdk\tools\ant\build.xml:602: The following erro
r occurred while executing this line:
C:\Program Files\Android\android-sdk\tools\ant\build.xml:622: Compile failed; se
e the compiler error output for details.

Total time: 3 seconds

2012/2/12 aquawicket

**
I’m trying to compile SDL 1.3 for android and i’m running into errors at
the ‘ant debug’ step.
Everything is good up until this step… Any Ideas?

Code:

C:\Android>ant debug

Buildfile: C:\Android\build.xml

-set-mode-check:

-set-debug-files:

-set-debug-mode:

-debug-obfuscation-check:

-setup:
[echo] Gathering info for SDLapp…
[setup] Android SDK Tools Revision 16
[setup] Project Target: Android 1.6
[setup] API level: 4

I think the minimum supported target is android-5, you may need to edit the
default.properties accordingly.–
Gabriel.