X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=android%2Fbuild.xml;h=ad9bead236032df6c440eeea4defa48dc969ab80;hb=a1dcf30e5a80d5bb6498e5a515426f1f0903cd63;hp=473135d9e5decde7c01aaa6b55f14c2a57592d9f;hpb=b509808261bb9f71668b14608dcc4d163ac3a613;p=zxing.git diff --git a/android/build.xml b/android/build.xml index 473135d9..ad9bead2 100644 --- a/android/build.xml +++ b/android/build.xml @@ -14,109 +14,128 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - + + + - - + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + - - + - + - - - - - - + + + + + - - - - + + - - - - - - - + + + + + + + - - + + - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - + + - + - - - - + + Creating output directories if needed... - - + + + + + @@ -126,13 +145,13 @@ limitations under the License. - + - + - + - + @@ -140,218 +159,148 @@ limitations under the License. Compiling aidl files into Java classes... - - - + + + + - - + + + + - + + + + - - - - - - - - - - + + - - - - - - - - - - - - - - - - - + + + + + + + + - + - + + - - - + + - Converting compiled files and external libraries into ${outdir}/${dex-file}... + Converting compiled files and external libraries into ${out-folder}/${dex-file}... + - - - + + + - - Converting compiled files and external libraries into ${outdir}/${dex-file}... - - - - - - - + + + Packaging resources + - - - Packaging resources and assets... - - - - - - - - - - - - - - - + - - 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... - - - - - - - - - - - - - - - - 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 - - - Installing ${out-debug-package} onto default emulator... - - - - - - - + + Installing ${out-debug-package} onto default emulator... - + @@ -364,9 +313,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. + + + +