Jump to content
Poweramp
JGSimard

erros in build.xml.. please help me

Recommended Posts

I have a problem with the first step of (Skin build process). When I type ant, I receive this error

Target "clean" does not exist in the project "Poweramp-Classic-Skin". It is used from target "jar"

I read about ant for a week ... I always hang at the same place.

thank you in advance

Project files : http://www.mediafire...0ba5e184028u7e1

five errors in eclipse at the build.xml : http://img15.hosting...99Sanstitre.jpg

build.xml

Share this post


Link to post
Share on other sites

I noticed in your build.xml that the declaration for xml is not included:


<?xml version="1.0" encoding="UTF-8"?>

This should be the very first line in any xml file... Maybe this is the cause. Also, I don't think it's a cause of your problems, but why did you physically specify the build.xml from the sdk instead of letting the vars take care of that... Change the following:


<!-- version-tag: custom -->
<import file="D:/Android/AndroidSDK/sdk/tools/ant/build.xml" />

to


<!-- version-tag: custom -->
<import file="${sdk.dir}/tools/ant/build.xml" />

The var ${sdk.dir} should automatically be replaced with the path to your android sdk if you have correctly set it up on your system.

One last thing, you are trying to run this from console right, and not from within eclipse... Eclipse is not supported for building/running Poweramp skins with ant. As stated in the quick start guide, eclipse will point out non-existent errors and won't work. Eclipse in this situation is only a glorified text editor... I suggest Notepad++ as it isn't a resource hog like eclipse and eclipse is kind of overkill for developing Poweramp skins.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×