Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Primitive? So, not Eclipse, and also not ant. You can use aapt, javac, dx, apkbuilder, and signer directly. Or more-or-less directly; you're still a programmer, you have ways of dealing with repetition.</p> <p>I do some on-device app development with <a href="http://code.google.com/p/terminal-ide/" rel="nofollow">Terminal IDE</a>. This is one my build scripts (named 'make'):</p> <pre><code>P=me/rapacity/stitch rm src/$P/R.java mkdir -m 770 -p dist || exit mkdir -m 770 -p build/classes || exit mkdir -m 770 -p tmp || exit ./index.perl aapt p -f -M AndroidManifest.xml -F build/resources.res \ -I ~/sdk/3.2/android.jar -S res/ -J src/$P || exit cd src for F in \ SelectActivity.java Tilesets.java \ StitchActivity.java \ TilesetView.java \ ; do if test $P/$F -nt ../build/classes/$P/$(dirname $F)/$(basename $F .java).class; then echo Building $P/$F REBUILD=1 javac -d ../build/classes $P/$F 2&gt; ../tmp/javac.out ../redcat ../tmp/javac.out grep error ../tmp/javac.out &amp;&amp; exit fi done cd .. if [ ! -z $REBUILD ]; then set -x ( cd src; javac -d ../build/classes $P/R.java ) ( cd build/classes; dx --dex --verbose --no-strict --output=../core.dex me ) || # 'me' as in me.rapacity. apkbuilder dist/core.apk -u -z build/resources.res -f build/core.dex || exit signer dist/core.apk core-debug.apk else echo +++ No need to rebuild .apk fi </code></pre> <p>in which some lengths are gone to to avoid recompilation and to promptly exit after an error. Very little of that needs to be edited per-project.</p>
 

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