I get a project that base on SDK, and need to use Ant to build. Its
build.xml is likely as blow:
--------------------------------------------------------------------------------------
<project name="Instrumentation1" default="debug">
<!-- SDK Locations -->
<property name="sdk-folder" value="C:\apps\android-sdk-windows-1.0_r1"
/>
<property name="android-tools"
value="C:\apps\android-sdk-windows-1.0_r1\tools" />
...
<property name="android-jar" value="${sdk-folder}/android.jar" />
<target name="resource-src" depends="dirs">
<echo>Generating R.java / Manifest.java from the resources...</echo>
<exec executable="${aapt}" failonerror="true">
<arg value="package" />
<arg value="-m" />
<arg value="-J" />
<arg value="${outdir-r}" />
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
<arg value="${resource-dir}" />
<arg value="-I" />
<arg value="${android-jar}" />
</exec>
</target>
--------------------------------------------------------------------------------------
My question is that how to port this project into Android source-codes.
I want to build this project in Android source-codes.
In fact, Android source-codes do NOT include any "android.jar", so, "aapt"
command will run fail.
How to modify this build.xml, or how to prot build.xml to Android.mk?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---