X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=android%2Fbuild.xml;h=905123489d721c71e656d11cacadb3d6adccba4b;hb=3099090045ff845693aaaa73fa3079365a6b801d;hp=f19d5f4b8e104a6cee77e916671c36a301cdead7;hpb=6747cbe06e68f2d20d035215d2eeecf49a68f5d9;p=zxing.git diff --git a/android/build.xml b/android/build.xml index f19d5f4b..90512348 100644 --- a/android/build.xml +++ b/android/build.xml @@ -1,226 +1,347 @@ - - + +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. +--> + - - + - - + + + + + + + + + + + + + + + + + + + - - - + + This will ensure that the properties are setup correctly but that your customized + targets are used. + --> + + + + + + + + + + - - - + + + + + - - + + - - + + + + + + + + + + + - - + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - + + + 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 + + + + + Installing ${out-debug-package} onto default emulator... + + + + - - - Packaging java... - + + Installing ${out-debug-package} onto default emulator... + + + + + - - - Packaging dex... - - - - + + + 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. + - + + -