意思还是很明白的,javac不支持nativeheaderdir属性。
解决办法很简单,打开build.sh,去掉这个属性,继续编译。
<javac classpathref="compile.path" source="${compatibility}" target="${compatibility}" destdir="${classes}" includeantruntime="false" deprecation="on" debug="${debug}" encoding="UTF-8" nativeheaderdir="${build.headers}">
改成
<javac classpathref="compile.path" source="${compatibility}" target="${compatibility}" destdir="${classes}" includeantruntime="false" deprecation="on" debug="${debug}" encoding="UTF-8" >