X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=android%2Fbuild.xml;h=fa683d6b768795a58c5b836952cf27f70939f2c9;hb=95dcb86e4d9766e82334fa947980f538a95343d9;hp=797df7981f15711a46855c17b29d5e035735b26e;hpb=85520988ce383472fdf99da36ca3935570a2af80;p=zxing.git diff --git a/android/build.xml b/android/build.xml index 797df798..fa683d6b 100644 --- a/android/build.xml +++ b/android/build.xml @@ -1,4 +1,4 @@ - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + - - - - + + - - - - - + + - - + + + + + + + + - - + + - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - + + - + - - + + Creating output directories if needed... - - + + + + + @@ -126,13 +148,13 @@ limitations under the License. - + - + - + - + @@ -140,119 +162,139 @@ limitations under the License. Compiling aidl files into Java classes... - - - + + + + - + + destdir="${out-classes}" + bootclasspathref="android.target.classpath"> + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Converting compiled files and external libraries into ${outdir}/${dex-file}... + Converting compiled files and external libraries into ${out-folder}/${dex-file}... + - - - + + + - - - Packaging resources and assets... - - - - - - - - - - - - - - + + + Packaging resources + - - - Packaging resources... - - - - - - - - - - - - - - + - - - - - - + [apply] UNEXPECTED TOP-LEVEL EXCEPTION: + [apply] com.android.dx.cf.code.SimException: local variable type + mismatch: attempt to set or access a value of type int using a local + variable of type com.google.zxing.qrcode.decoder.Version. This is + symptomatic of .class transformation tools that ignore local variable + information. + + Build core/ with the 'build-no-debug' target. It's a long story. + --> - - Packaging ${out-debug-package}, and signing it with a debug key... - - - - - - - - - - + This is the default target when building. It is used for debug. --> + + + + + + + + + + + + + + - - Packaging ${out-unsigned-package} for release... - - - - - - - - - - - - - It will need to be signed with jarsigner before being published. + This allows for the application to be signed later with an official publishing key. --> + + + + + + + + All generated packages need to be signed with jarsigner before they are published. + Also run zipalign -f -v 4 BarcodeScanner.apk BarcodeScanner-aligned.apk after signing @@ -260,7 +302,7 @@ only when the assets dir exists. --> Installing ${out-debug-package} onto default emulator... - + @@ -269,7 +311,7 @@ only when the assets dir exists. --> - + @@ -282,8 +324,24 @@ only when the assets dir exists. --> - - + + Android Ant Build. Available targets: + help: Displays this help. + debug: Builds the application and sign it with a debug key. + release: Builds the application. The generated apk file must be + signed before it is published. + install: Installs the debug package onto a running emulator or + device. This can only be used if the application has + not yet been installed. + reinstall: Installs the debug package on a running emulator or + device that already has the application. + The signatures must match. + uninstall: uninstall the application from a running emulator or + device. + + + +