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 order to avoid having your file be overridden by tools such as "android update project"
|
||||
-->
|
||||
<!-- version-tag: custom -->
|
||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||
<path id="android.antlibs">
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue