X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=android%2Fbuild.xml;h=ad9bead236032df6c440eeea4defa48dc969ab80;hb=a1dcf30e5a80d5bb6498e5a515426f1f0903cd63;hp=2400b13217b1c51fdbbb0b31e73b6bedf7974220;hpb=93d4478a8b36ea55063e1aad1d7d04a5c0d8191d;p=zxing.git diff --git a/android/build.xml b/android/build.xml index 2400b132..ad9bead2 100644 --- a/android/build.xml +++ b/android/build.xml @@ -1,281 +1,336 @@ +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +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. +--> + - - + - - - + + - - - + + application-package + the name of your application package as defined in the manifest. Used by the + 'uninstall' rule. + source-folder + the name of the source folder. Default is 'src'. + out-folder + the name of the output folder. Default is 'bin'. + + Properties related to the SDK location or the project target should be updated + using the 'android' tool with the 'update' action. + + This file is an integral part of the build system for your application and + should be checked in in Version Control Systems. + + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + - - + + - - + + + + + + + + - - + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + Creating output directories if needed... + + + + + - - - - - - - - Generating R.java... + Generating R.java / Manifest.java from the resources... - - - - - - - - - - + + + + + + + + + + + Compiling aidl files into Java classes... - - - + + + + - - + + + + - + + + + - + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + Converting compiled files and external libraries into ${out-folder}/${dex-file}... + + + + + + + - - - Packaging resources and assets... - - - - - - - - - - - - - - + + + Packaging resources + - - - Packaging resources... - - + + + + + + + + + + + - - - - - - - - - + + + + - - - - - - + + + + + + + + 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 - - - Packaging java... - - - - - - Packaging dex... - - - - + + + Installing ${out-debug-package} onto default emulator... + + + + - - - - - - Sending package to default emulator... + + + Uninstalling ${application-package} from the default emulator... - - + + - - + + 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. + + + +