Hello there,

I used an build.xml file for building projects with ant with 1.1 sdk.
When wanted to switch to 1.5_1 or 1.5_3 SDK, the aapt located now
under platforms\android-1.5\tools is not working with the build.xml.

The target for aapt is:

<exec executable="${aapt}" failonerror="true">
            <arg value="package" />
            <arg value="-f" />
            <arg value="-M" />
            <arg value="AndroidManifest.xml" />
            <arg value="-S" />
            <arg value="${resource-dir}" />
            <arg value="-A" />
            <arg value="${asset-dir}" />
            <arg value="-I" />
            <arg value="${android-jar}" />
            <arg value="-F" />
            <arg value="${resources-package}" />
        </exec>

This one worked and still works perfectly with the aapt under 1.1 sdk,
but not with the aapt under 1.5 sdk.
The error message i receive is,

[exec] ERROR: failed opening/creating 'res/raw/whatever.mp3' as Zip
file

I do have an mp3 file in the res\raw folder as instructed by the docs,
and the same project structure builds fine under eclipse.
Unfortunately, with ant it doesn't.

Also noticed that, even if another aaps file is in the platform
\android1.1\tools directory in 1.5 sdk, that file is different from
the one included in \tools under 1.1 sdk, and it's giving the same
error message.

Can someone help me out with this?

Thank you in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to