Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://github.com/downloads/robomorphine/testrunner/robomorphine-testrunner.zip
- https://github.com/robomorphine/testrunner/wiki/quickstart
- https://github.com/downloads/robomorphine/testrunner/android-build-example.zip
- And adding local.properties:
- local.properties.template:sdk.dir=/opt/android-sdk-linux
- (specific to my env)
- Extracted out to /tmp/mytest directory and then:
- /tmp/mytest/tester>ant debug
- Buildfile: /tmp/mytest/tester/build.xml
- -set-mode-check:
- -set-debug-files:
- -check-env:
- [checkenv] Android SDK Tools Revision 21.1.0
- [checkenv] Installed at /opt/android-sdk-linux
- -setup:
- [echo] Project Name: tester
- [gettype] Project Type: Test Application
- -set-debug-mode:
- -debug-obfuscation-check:
- -pre-build:
- -build-setup:
- [echo] Resolving Build Target for tester...
- [gettarget] Project Target: Android 2.2
- [gettarget] API level: 8
- [echo] ----------
- [echo] Creating output directories if needed...
- [mkdir] Created dir: /tmp/mytest/tester/libs
- [mkdir] Created dir: /tmp/mytest/tester/bin
- [mkdir] Created dir: /tmp/mytest/tester/bin/res
- [mkdir] Created dir: /tmp/mytest/tester/gen
- [mkdir] Created dir: /tmp/mytest/tester/bin/classes
- [mkdir] Created dir: /tmp/mytest/tester/bin/dexedLibs
- [echo] ----------
- [echo] Resolving Dependencies for tester...
- [dependency] Library dependencies:
- [dependency] No Libraries
- [dependency]
- [dependency] ------------------
- [dependency] API<=15: Adding annotations.jar to the classpath.
- [echo] ----------
- [echo] Building Libraries with 'debug'...
- [subant] No sub-builds to iterate on
- [echo] ----------
- [echo] Building tested project at /tmp/mytest/tested with 'debug'...
- -set-mode-check:
- -set-debug-files:
- -check-env:
- [checkenv] Android SDK Tools Revision 21.1.0
- [checkenv] Installed at /opt/android-sdk-linux
- -setup:
- [echo] Project Name: tested
- [gettype] Project Type: Application
- -set-debug-mode:
- -debug-obfuscation-check:
- -pre-build:
- -build-setup:
- [echo] Resolving Build Target for tested...
- [gettarget] Project Target: Android 2.2
- [gettarget] API level: 8
- [echo] ----------
- [echo] Creating output directories if needed...
- [mkdir] Created dir: /tmp/mytest/tested/libs
- [mkdir] Created dir: /tmp/mytest/tested/bin
- [mkdir] Created dir: /tmp/mytest/tested/bin/res
- [mkdir] Created dir: /tmp/mytest/tested/gen
- [mkdir] Created dir: /tmp/mytest/tested/bin/classes
- [mkdir] Created dir: /tmp/mytest/tested/bin/dexedLibs
- [echo] ----------
- [echo] Resolving Dependencies for tested...
- [dependency] Library dependencies:
- [dependency] No Libraries
- [dependency]
- [dependency] ------------------
- [dependency] API<=15: Adding annotations.jar to the classpath.
- [echo] ----------
- [echo] Building Libraries with 'debug'...
- [subant] No sub-builds to iterate on
- -code-gen:
- [mergemanifest] Merging AndroidManifest files into one.
- [mergemanifest] Manifest merger disabled. Using project manifest only.
- [echo] Handling aidl files...
- [aidl] No AIDL files to compile.
- [echo] ----------
- [echo] Handling RenderScript files...
- [renderscript] No RenderScript files to compile.
- [echo] ----------
- [echo] Handling Resources...
- [aapt] Generating resource IDs...
- [echo] ----------
- [echo] Handling BuildConfig class...
- [buildconfig] Generating BuildConfig class.
- -pre-compile:
- -compile:
- [javac] Compiling 3 source files to /tmp/mytest/tested/bin/classes
- -post-compile:
- -obfuscate:
- -dex:
- [dex] input: /tmp/mytest/tested/bin/classes
- [dex] input: /opt/android-sdk-linux/tools/support/annotations.jar
- [dex] Pre-Dexing /opt/android-sdk-linux/tools/support/annotations.jar -> annotations-57bcb942842df78922f5cd056349eee7.jar
- [dex] Converting compiled files and external libraries into /tmp/mytest/tested/bin/classes.dex...
- [dx] Merged dex A (7 defs/2.1KiB) with dex B (2 defs/1.1KiB). Result is 9 defs/3.1KiB. Took 0.0s
- -crunch:
- [crunch] Crunching PNG Files in source dir: /tmp/mytest/tested/res
- [crunch] To destination dir: /tmp/mytest/tested/bin/res
- [crunch] Processing image to cache: /tmp/mytest/tested/res/drawable/icon.png => /tmp/mytest/tested/bin/res/drawable/icon.png
- [crunch] (processed image to cache entry /tmp/mytest/tested/bin/res/drawable/icon.png: 0% size of source)
- [crunch] Crunched 1 PNG files to update cache
- -package-resources:
- [aapt] Creating full resource package...
- -package:
- [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
- [apkbuilder] Creating tested-debug-unaligned.apk and signing it with a debug key...
- -post-package:
- -do-debug:
- [zipalign] Running zip align on final apk...
- [echo] Debug Package: /tmp/mytest/tested/bin/tested-debug.apk
- [propertyfile] Creating new property file: /tmp/mytest/tested/bin/build.prop
- [propertyfile] Updating property file: /tmp/mytest/tested/bin/build.prop
- [propertyfile] Updating property file: /tmp/mytest/tested/bin/build.prop
- [propertyfile] Updating property file: /tmp/mytest/tested/bin/build.prop
- -post-build:
- debug:
- [testedprojectclasspath] Resolved classpath:
- [testedprojectclasspath] /tmp/mytest/tested/bin/classes
- -code-gen:
- [mergemanifest] Merging AndroidManifest files into one.
- [mergemanifest] Manifest merger disabled. Using project manifest only.
- [echo] Handling aidl files...
- [aidl] No AIDL files to compile.
- [echo] ----------
- [echo] Handling RenderScript files...
- [renderscript] No RenderScript files to compile.
- [echo] ----------
- [echo] Handling Resources...
- [aapt] Generating resource IDs...
- [echo] ----------
- [echo] Handling BuildConfig class...
- [buildconfig] Generating BuildConfig class.
- -pre-compile:
- -compile:
- [javac] Compiling 5 source files to /tmp/mytest/tester/bin/classes
- -post-compile:
- -obfuscate:
- -dex:
- [dex] input: /tmp/mytest/tester/bin/classes
- [dex] input: /opt/android-sdk-linux/tools/support/annotations.jar
- [dex] Pre-Dexing /opt/android-sdk-linux/tools/support/annotations.jar -> annotations-57bcb942842df78922f5cd056349eee7.jar
- [dex] Converting compiled files and external libraries into /tmp/mytest/tester/bin/classes.dex...
- [dx] Merged dex A (8 defs/3.1KiB) with dex B (2 defs/1.1KiB). Result is 10 defs/4.2KiB. Took 0.0s
- -crunch:
- [crunch] Crunching PNG Files in source dir: /tmp/mytest/tester/res
- [crunch] To destination dir: /tmp/mytest/tester/bin/res
- [crunch] Processing image to cache: /tmp/mytest/tester/res/drawable/icon.png => /tmp/mytest/tester/bin/res/drawable/icon.png
- [crunch] (processed image to cache entry /tmp/mytest/tester/bin/res/drawable/icon.png: 0% size of source)
- [crunch] Crunched 1 PNG files to update cache
- -package-resources:
- [aapt] Creating full resource package...
- -package:
- [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
- [apkbuilder] Creating tester-debug-unaligned.apk and signing it with a debug key...
- -post-package:
- -do-debug:
- [zipalign] Running zip align on final apk...
- [echo] Debug Package: /tmp/mytest/tester/bin/tester-debug.apk
- [propertyfile] Creating new property file: /tmp/mytest/tester/bin/build.prop
- [propertyfile] Updating property file: /tmp/mytest/tester/bin/build.prop
- [propertyfile] Updating property file: /tmp/mytest/tester/bin/build.prop
- [propertyfile] Updating property file: /tmp/mytest/tester/bin/build.prop
- -post-build:
- debug:
- BUILD SUCCESSFUL
- Total time: 11 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement