Jump to content

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


Link to comment
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" />


<!-- 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.

Link to comment
Share on other sites

  • 4 months later...


This topic is now archived and is closed to further replies.

  • Create New...