Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>create lib directory in project keep all the required jar there then create new custom_rule.xml and copy below written code, then it will work file Or you can paste this code in the last of build.xml too.</p> <pre><code>&lt;property name="jar.libs.dir" value="libs" /&gt; &lt;property name="jar.libs.absolute.dir" location="${jar.libs.dir}" /&gt; &lt;path id="classpath"&gt; &lt;fileset dir="${jar.libs.absolute.dir}"&gt; &lt;include name="your-helping-version.jar" /&gt; &lt;include name="gson-2.2.2.jar" /&gt; &lt;/fileset&gt; &lt;/path&gt; &lt;!-- version-tag: VERSION_TAG --&gt; &lt;import file="${sdk.dir}/tools/ant/uibuild.xml" /&gt; &lt;!-- overwrite the compile target in uibuild.xml to include to external jars --&gt; &lt;target name="compile" depends="-build-setup, -pre-compile"&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}" fork="${need.javac.fork}"&gt; &lt;src path="${source.absolute.dir}" /&gt; &lt;classpath refid="classpath" /&gt; &lt;compilerarg line="${java.compilerargs}" /&gt; &lt;/javac&gt; &lt;/target&gt; &lt;!-- overwrite the -dex target in uibuild.xml to include external jar files into the target dex file. --&gt; &lt;target name="-dex" depends="compile, -post-compile"&gt; &lt;dex executable="${dx}" output="${intermediate.dex.file}" nolocals="@{nolocals}" verbose="${verbose}"&gt; &lt;fileset dir="${jar.libs.absolute.dir}"&gt; &lt;include name="your-helping-version.jar" /&gt; &lt;include name="gson-2.2.2.jar" /&gt; &lt;/fileset&gt; &lt;path path="${out.classes.absolute.dir}" /&gt; &lt;/dex&gt; &lt;/target&gt; </code></pre>
    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. This table or related slice is empty.
    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