Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The file "tools/ant/build.xml" under my Android SDK directory contains the following:</p> <pre><code>&lt;property name="java.compilerargs" value="" /&gt; </code></pre> <p>Perhaps the Android SDK used by the build that fails due to warnings being treated like errors includes "-Werror" in the compiler args? (If not, a recursive grep for "compilerargs" in the directory of the offending Android SDK instance could find the culprit.)</p> <p>UPDATE:</p> <p>On the other hand, that's in my Android SDK, the property is not in itself mandatory -- it just happens to be used here:</p> <pre class="lang-xml prettyprint-override"><code>&lt;!-- Compiles this project's .java files into .class files. --&gt; &lt;target name="-compile" depends="-pre-build, -build-setup, -code-gen, -pre-compile"&gt; &lt;do-only-if-manifest-hasCode elseText="hasCode = false. Skipping..."&gt; &lt;!-- merge the project's own classpath and the tested project's classpath --&gt; &lt;path id="project.javac.classpath"&gt; &lt;path refid="project.all.jars.path" /&gt; &lt;path refid="tested.project.classpath" /&gt; &lt;path path="${java.compiler.classpath}" /&gt; &lt;/path&gt; &lt;javac encoding="${java.encoding}" source="${java.source}" target="${java.target}" debug="true" extdirs="" includeantruntime="false" destdir="${out.classes.absolute.dir}" bootclasspathref="project.target.class.path" verbose="${verbose}" classpathref="project.javac.classpath" fork="${need.javac.fork}"&gt; &lt;src path="${source.absolute.dir}" /&gt; &lt;src path="${gen.absolute.dir}" /&gt; &lt;compilerarg line="${java.compilerargs}" /&gt; &lt;/javac&gt; </code></pre> <p>The element that has to be there is the "compilerarg" one on the next-to-last line, so a grep for "compilerarg" instead of "compilerargs" would be the better choice.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload