build.xml obsolete - help needed
in
Android Processing
•
2 years ago
Hello
I'm new to Processing and Android. I'm having some problems in running the examples in the android emulator and I would like that someone helps me solving the following error:
I'm on XP, I've installed Android SDK release 14, then I've downloaded and installed the packages seen in the follwoing image.
The example I'm using is ContinuousLines.The example runs in Standard Mode without any problems. I've tried Processing 1.5.1 with and without java, and the result is always the same in Android mode. When I try to run the example in the emulator, I get the following error in the console:
In Android Virtual Device Manager, I can find a device that wasn't created by me (see picture). I think this device appeared after I've installed Google APIs for Android 2.1. I have tried to run the emulator either with this device or a virtual device created by me, hoping that the problem was coming from the virtual device itself, but I haven't had any success.
The virtual device I've created had as target, Android 2.1 - API level 7.
Anyway I can't chose which device I want to use in Processing emulator, or at least until to the part where the error appears.
I also went to see the build.xml file in the given directory, and I thought that the problem could be the sdk path:
I've read some tutorials and they all seem to work without any problems at this phase.
Does anyone has ever faced this or a similar problem?
I'm new to Processing and Android. I'm having some problems in running the examples in the android emulator and I would like that someone helps me solving the following error:
I'm on XP, I've installed Android SDK release 14, then I've downloaded and installed the packages seen in the follwoing image.
BUILD FAILED
C:\DOCUME~1\ANDROI~1\DEFINI~1\Temp\android4273257008724744077.pde\build.xml:16:
Error. You are using an obsolete build.xml
You need to delete it and regenerate it using
android update project
Total time: 0 seconds
In Android Virtual Device Manager, I can find a device that wasn't created by me (see picture). I think this device appeared after I've installed Google APIs for Android 2.1. I have tried to run the emulator either with this device or a virtual device created by me, hoping that the problem was coming from the virtual device itself, but I haven't had any success.
The virtual device I've created had as target, Android 2.1 - API level 7.
Anyway I can't chose which device I want to use in Processing emulator, or at least until to the part where the error appears.
I also went to see the build.xml file in the given directory, and I thought that the problem could be the sdk path:
I've also tried to change the path to the sdk (by deleting the file preferences.txt and chosing Android Mode in processing) but the problem remains.<?xml version="1.0" encoding="utf-8"?>
<project name="AnimatedSprite" default="help">
<property file="local.properties"/>
<property file="build.properties"/>
<property file="default.properties"/>
<path id="android.antlibs">
<pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
<pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
<pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
<pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar" />
<pathelement path="${sdk.dir}/tools/lib/jarutils.jar" />
</path>
<taskdef name="setup"
classname="com.android.ant.SetupTask"
classpathref="android.antlibs" />
<setup />
</project>
I've read some tutorials and they all seem to work without any problems at this phase.
Does anyone has ever faced this or a similar problem?
3