Skip to content

Instantly share code, notes, and snippets.

@brianchirls
Created March 26, 2015 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianchirls/60b4fc05e225ace40f38 to your computer and use it in GitHub Desktop.
Save brianchirls/60b4fc05e225ace40f38 to your computer and use it in GitHub Desktop.
tns debug android --debug-brk --log trace
Starting watch on killswitch /var/folders/3y/vhmdsjk90w17389dp4_zznbw0000gn/T/Home/KillSwitches/cli
spawn: adb version
Looking for project in '/Users/Home/code/tns/the-and'
Project directory is '/Users/Home/code/tns/the-and'.
Project successfully prepared
Project successfully prepared
spawn: ant debug -f /Users/Home/code/tns/the-and/platforms/android/build.xml
Buildfile: /Users/Home/code/tns/the-and/platforms/android/build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.1.2
[checkenv] Installed at /Users/Home/Library/Android/sdk
-setup:
[echo] Project Name: the-and
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 21.1.2
[echo] Resolving Build Target for the-and...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for the-and...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] No changes in the AndroidManifest files.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] No changed resources. R.java and Manifest.java untouched.
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
-post-compile:
-obfuscate:
-dex:
[dex] input: /Users/Home/code/tns/the-and/platforms/android/bin/classes
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/support-v4-r13.jar
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/gson-2.2.4.jar
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/nativescript.jar
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/android-support-lib-bindings.jar
[dex] Using Pre-Dexed support-v4-r13-68febe3cdbb7a8b090e5053c1475513c.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/support-v4-r13.jar
[dex] Using Pre-Dexed gson-2.2.4-1dcb02d593cb4ecaa13bc846a49345ad.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/gson-2.2.4.jar
[dex] Using Pre-Dexed nativescript-62a0ac35b2df32287fe7fd6f8cae1988.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/nativescript.jar
[dex] Using Pre-Dexed android-support-lib-bindings-b36f9b9968733ca6bc80e7e9391d18a9.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/android-support-lib-bindings.jar
[dex] No new compiled code. No need to convert bytecode to dalvik format.
-crunch:
[crunch] ERROR: 9-patch image /Users/Home/code/tns/the-and/platforms/android/res/drawable-nodpi/splashscreen.9.png malformed.Crunching PNG Files in source dir: /Users/Home/code/tns/the-and/platforms/android/res
[crunch] No marked region found along edge.
[crunch] Found along top edge.
[crunch] To destination dir: /Users/Home/code/tns/the-and/platforms/android/bin/res
[crunch] Processing image to cache: /Users/Home/code/tns/the-and/platforms/android/res/drawable-hdpi/icon.png => /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-hdpi/icon.png
[crunch] (processed image to cache entry /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-hdpi/icon.png: 0% size of source)
[crunch]
[crunch] Processing image to cache: /Users/Home/code/tns/the-and/platforms/android/res/drawable-ldpi/icon.png => /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-ldpi/icon.png
[crunch] (processed image to cache entry /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-ldpi/icon.png: 0% size of source)
[crunch] Processing image to cache: /Users/Home/code/tns/the-and/platforms/android/res/drawable-mdpi/icon.png => /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-mdpi/icon.png
[crunch] (processed image to cache entry /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-mdpi/icon.png: 0% size of source)
[crunch] Processing image to cache: /Users/Home/code/tns/the-and/platforms/android/res/drawable-nodpi/splashscreen.9.png => /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-nodpi/splashscreen.9.png
[crunch] Crunched 4 PNG files to update cache
-package-resources:
[aapt] Found modified input file
[aapt] Creating full resource package...
-package:
[apkbuilder] Found modified input file
[apkbuilder] Creating the-and-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: /Users/Home/code/tns/the-and/platforms/android/bin/the-and-debug.apk
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 8 seconds
spawn: java -jar /usr/local/lib/node_modules/nativescript/resources/tools/metadata-generator.jar /Users/Home/code/tns/the-and/lib/Android /Users/Home/code/tns/the-and/lib/Android/__metadata
Skip com.tns.android.support.v4.app.TaskStackBuilderHoneycomb
Skip com.tns.android.support.v4.net.TrafficStatsCompatIcs
Skip com.tns.android.support.v4.view.ViewCompatJB
spawn: ant debug -f /Users/Home/code/tns/the-and/platforms/android/build.xml
Buildfile: /Users/Home/code/tns/the-and/platforms/android/build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.1.2
[checkenv] Installed at /Users/Home/Library/Android/sdk
-setup:
[echo] Project Name: the-and
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 21.1.2
[echo] Resolving Build Target for the-and...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for the-and...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] No changes in the AndroidManifest files.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] No changed resources. R.java and Manifest.java untouched.
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
-post-compile:
-obfuscate:
-dex:
[dex] input: /Users/Home/code/tns/the-and/platforms/android/bin/classes
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/support-v4-r13.jar
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/gson-2.2.4.jar
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/nativescript.jar
[dex] input: /Users/Home/code/tns/the-and/platforms/android/libs/android-support-lib-bindings.jar
[dex] Using Pre-Dexed support-v4-r13-68febe3cdbb7a8b090e5053c1475513c.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/support-v4-r13.jar
[dex] Using Pre-Dexed gson-2.2.4-1dcb02d593cb4ecaa13bc846a49345ad.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/gson-2.2.4.jar
[dex] Using Pre-Dexed nativescript-62a0ac35b2df32287fe7fd6f8cae1988.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/nativescript.jar
[dex] Using Pre-Dexed android-support-lib-bindings-b36f9b9968733ca6bc80e7e9391d18a9.jar <- /Users/Home/code/tns/the-and/platforms/android/libs/android-support-lib-bindings.jar
[dex] No new compiled code. No need to convert bytecode to dalvik format.
-crunch:
[crunch] ERROR: 9-patch image /Users/Home/code/tns/the-and/platforms/android/res/drawable-nodpi/splashscreen.9.png malformed.Crunching PNG Files in source dir: /Users/Home/code/tns/the-and/platforms/android/res
[crunch] No marked region found along edge.
[crunch] Found along top edge.
[crunch]
[crunch] To destination dir: /Users/Home/code/tns/the-and/platforms/android/bin/res
[crunch] Processing image to cache: /Users/Home/code/tns/the-and/platforms/android/res/drawable-nodpi/splashscreen.9.png => /Users/Home/code/tns/the-and/platforms/android/bin/res/drawable-nodpi/splashscreen.9.png
[crunch] Crunched 1 PNG files to update cache
-package-resources:
[aapt] Found modified input file
[aapt] Creating full resource package...
-package:
[apkbuilder] Found modified input file
[apkbuilder] Creating the-and-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: /Users/Home/code/tns/the-and/platforms/android/bin/the-and-debug.apk
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
[propertyfile] Updating property file: /Users/Home/code/tns/the-and/platforms/android/bin/build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 8 seconds
Project successfully built
Using /Users/Home/code/tns/the-and/platforms/android/bin/the-and-debug.apk
startLookingForDevices; platform is Android
spawn: adb version
Exec adb start-server
stdout:
stderr:
Exec adb devices
stdout: List of devices attached
0074965c50cd2c9b device
stderr:
Exec "adb" -s 0074965c50cd2c9b shell cat /system/build.prop
stdout:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=LRX22C
ro.build.display.id=LRX22C
ro.build.version.incremental=1602158
ro.build.version.sdk=21
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=5.0.1
ro.build.date=Fri Nov 21 00:10:59 UTC 2014
ro.build.date.utc=1416528659
ro.build.type=user
ro.build.user=android-build
ro.build.host=wpee26.hot.corp.google.com
ro.build.tags=release-keys
ro.product.model=Nexus 4
ro.product.brand=google
ro.product.name=occam
ro.product.device=mako
ro.product.board=MAKO
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=LGE
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=msm8960
# ro.build.product is obsolete; use ro.product.device
ro.build.product=mako
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=occam-user 5.0.1 LRX22C 1602158 release-keys
ro.build.fingerprint=google/occam/mako:5.0.1/LRX22C/1602158:user/release-keys
ro.build.characteristics=nosdcard
# end build properties
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.ringtone=Themos.ogg
ro.config.notification_sound=Tejat.ogg
ro.config.alarm_alert=Oxygen.ogg
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.carrier=unknown
ro.com.android.wifi-watchlist=GoogleGuest
ro.error.receiver.system.apps=com.google.android.gms
ro.setupwizard.enterprise_mode=1
ro.opengles.version=196608
ro.sf.lcd_density=320
persist.audio.handset.mic.type=digital
persist.audio.dualmic.config=endfire
persist.audio.fluence.voicecall=true
persist.audio.handset.mic=dmic
persist.audio.fluence.mode=endfire
persist.audio.lowlatency.rec=false
persist.radio.apm_sim_not_pwdn=1
ro.telephony.call_ring.multiple=0
persist.hwc.mdpcomp.enable=true
ro.qualcomm.bt.hci_transport=smd
telephony.lteOnCdmaDevice=0
drm.service.enabled=true
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
media.aac_51_output_enabled=true
debug.egl.recordable.rgba8888=1
ro.qc.sensors.wl_dis=true
ro.qualcomm.sensors.smd=true
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
keyguard.no_require_sim=true
ro.facelock.black_timeout=400
ro.facelock.det_timeout=1500
ro.facelock.rec_timeout=2500
ro.facelock.lively_timeout=2500
ro.facelock.est_max_time=600
ro.facelock.use_intro_anim=false
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm.features=div
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
stderr:
Found device with identifier '0074965c50cd2c9b'
Exec "adb" -s 0074965c50cd2c9b shell pm uninstall "org.nativescript.theand"
stdout: Success
stderr:
Exec "adb" -s 0074965c50cd2c9b install -r "/Users/Home/code/tns/the-and/platforms/android/bin/the-and-debug.apk"
stdout: pkg: /data/local/tmp/the-and-debug.apk
Success
stderr: 5025 KB/s (8411019 bytes in 1.634s)
Exec "adb" -s 0074965c50cd2c9b shell rm "/sdcard/Android/data/org.nativescript.theand/files/envDebug.out"
stdout: rm: /sdcard/Android/data/org.nativescript.theand/files/envDebug.out: No such file or directory
stderr:
Exec "adb" -s 0074965c50cd2c9b shell am start -a android.intent.action.MAIN -n org.nativescript.theand/com.tns.NativeScriptActivity
stdout: Starting: Intent { act=android.intent.action.MAIN cmp=org.nativescript.theand/com.tns.NativeScriptActivity }
stderr:
Exec "adb" -s 0074965c50cd2c9b shell rm "/sdcard/Android/data/org.nativescript.theand/files/envDebug.in"
stdout: rm: /sdcard/Android/data/org.nativescript.theand/files/envDebug.in: No such file or directory
stderr:
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.theand/files/envDebug.out && echo 'yes' || echo 'no'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment