「includeAntRuntime」在android ant腳本中未設置爲false,並且每次構建我的應用程序時都會給我帶來惱人的警告。「includeAntRuntime」未設置爲android ant腳本?
[javac] /Users/dwang/Library/android/android-sdk-mac_x86/tools/ant/main_rules.xml:361: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
看文件Android的SDK的行354 - * /工具/ ANT/main_rules.xml
<javac encoding="${java.encoding}"
source="${java.source}" target="${java.target}"
debug="true" extdirs=""
destdir="${out.classes.absolute.dir}"
bootclasspathref="android.target.classpath"
verbose="${verbose}"
classpath="${extensible.classpath}"
classpathref="jar.libs.ref">
<src path="${source.absolute.dir}" />
<src path="${gen.absolute.dir}" />
<src refid="project.libraries.src" />
<classpath>
<fileset dir="${extensible.libs.classpath}" includes="*.jar" />
</classpath>
</javac>
而且似乎我不能輕易解決它不直接修改該文件? Android團隊,請修正它?
http://www.enterra-inc.com/techzone/using_ant_android_applications_building/可能有幫助 – 2012-01-13 03:30:53