gw111zz/HelloScalaOnAndroid — Issue #4: Obsolete build.xml
Author: gergoerdi
Created: 2011-12-12 14:06:03+00:00
State: open

Hi,

I tried using your HelloScalaOnAndroid project, but got this error message when trying to build it with `ant`:

BUILD FAILED
/home/cactus/prog/jvm/scala/a/HelloScalaOnAndroid/build.xml:85:

Error. You are using an obsolete build.xml
You need to delete it and regenerate it using
android update project

not that `android update project` helps:

build.xml: Failed to find version-tag string. File must be updated.
In order to not erase potential customizations, the file will not be automatically regenerated.
If no changes have been made to the file, delete it manually and run the command again.
If you have made customizations to the build process, the file must be manually updated.
It is recommended to:
* Copy current file to a safe location.
* Delete original file.
* Run command again to generate a new file.
* Port customizations to the new file, by looking at the new rules file
located at /tools/ant/build.xml
* Update file to contain
version-tag: custom
to prevent file from being rewritten automatically by the SDK tools.