Fix compilation with latest android sdk tools
This commit is contained in:
parent
ca10b66dec
commit
3edc0006b5
1 changed files with 17 additions and 2 deletions
19
build.xml
19
build.xml
|
@ -88,7 +88,22 @@
|
||||||
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
|
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
|
||||||
in order to avoid having your file be overridden by tools such as "android update project"
|
in order to avoid having your file be overridden by tools such as "android update project"
|
||||||
-->
|
-->
|
||||||
<!-- version-tag: custom -->
|
<path id="android.antlibs">
|
||||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
<pathelement path="${sdk.dir}/tools/lib/ant-tasks.jar" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<!-- Custom tasks -->
|
||||||
|
<taskdef resource="anttasks.properties" classpathref="android.antlibs" />
|
||||||
|
<property name="exe" value="" />
|
||||||
|
<property name="bat" value="" />
|
||||||
|
|
||||||
|
<getbuildtools name="android.build.tools.dir" verbose="${verbose}" />
|
||||||
|
<property name="aidl" location="${android.build.tools.dir}/aidl${exe}" />
|
||||||
|
<property name="aapt" location="${android.build.tools.dir}/aapt${exe}" />
|
||||||
|
<property name="dx" location="${android.build.tools.dir}/dx${bat}" />
|
||||||
|
<property name="zipalign" location="${android.build.tools.dir}/zipalign${exe}" />
|
||||||
|
|
||||||
|
<!-- version-tag: custom -->
|
||||||
|
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue