Skip to content

Instantly share code, notes, and snippets.

@vchimev
Created July 30, 2015 12:06
Show Gist options
  • Save vchimev/9587d957355e40d1bc7a to your computer and use it in GitHub Desktop.
Save vchimev/9587d957355e40d1bc7a to your computer and use it in GitHub Desktop.
Debug command builds the app twice
Exec npm -v
stdout: 2.11.3
stderr:
spawn: java -version
Exec ant -version
stdout: Apache Ant(TM) version 1.9.4 compiled on April 29 2014
stderr:
Exec node-gyp -v
stdout:
stderr: 'node-gyp' is not recognized as an internal or external command,
operable program or batch file.
Exec adb version
stdout: Android Debug Bridge version 1.0.32
stderr:
Exec android -h
stdout:
Usage:
android [global options] action [action options]
Global options:
-s --silent : Silent mode, shows errors only.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-h --help : Help on a specific command.
Valid
actions
are
composed
of a verb
and an
optional
direct
object:
- sdk : Displays the SDK Manager window.
- avd : Displays the AVD Manager window.
- list : Lists existing targets or virtual devices.
- list avd : Lists existing Android Virtual Devices.
- list target : Lists existing targets.
- list device : Lists existing devices.
- list sdk : Lists remote SDK repository.
- create avd : Creates a new Android Virtual Device.
- move avd : Moves or renames an Android Virtual Device.
- delete avd : Deletes an Android Virtual Device.
- update avd : Updates an Android Virtual Device to match the folders
of a new SDK.
- create project : Creates a new Android project.
- update project : Updates an Android project (must already have an
AndroidManifest.xml).
- create test-project : Creates a new Android project for a test package.
- update test-project : Updates the Android project for a test package (must
already have an AndroidManifest.xml).
- create lib-project : Creates a new Android library project.
- update lib-project : Updates an Android library project (must already have
an AndroidManifest.xml).
- create uitest-project: Creates a new UI test project.
- update adb : Updates adb to support the USB devices declared in the
SDK add-ons.
- update sdk : Updates the SDK by suggesting new platforms to install
if available.
stderr: Invalid number of parameters
The system cannot find the path specified.
Exec mono --version
stdout:
stderr: 'mono' is not recognized as an internal or external command,
operable program or batch file.
System information:
{ procInfo: 'nativescript/1.2.2',
platform: 'win32',
os: 'Windows 8.1 Pro 6.3.9600',
shell: 'C:\\WINDOWS\\system32\\cmd.exe',
dotNetVer: '4.5.51650',
procArch: 'ia32',
nodeVer: 'v0.12.7',
npmVer: '2.11.3',
javaVer: '1.8.0',
antVer: 'Apache Ant(TM) version 1.9.4 compiled on April 29 2014',
nodeGypVer: null,
xcodeVer: null,
itunesInstalled: false,
adbVer: 'Android Debug Bridge version 1.0.32',
androidInstalled: true,
monoVer: null }
Starting watch on killswitch C:\Users\vchimev\AppData\Local\Temp\1\vchimev\KillSwitches\cli
Initializing analytics statuses.
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 0 }
Trying to track feature 'Non-interactive' with value 'debug'.
BeforeHookName for command debug-android is before-debug-android
AfterHookName for command debug-android is after-debug-android
Looking for project in 'c:\Work\release\testApp2'
Project directory is 'c:\Work\release\testApp2'.
spawn: adb version
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 0 }
Trying to track feature 'Non-interactive' with value 'debug|android'.
BeforeHookName for command debug|android is before-debug
AfterHookName for command debug|android is after-debug
spawn: emulator -help
Exec npm install
stdout:
stderr: npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.
Project successfully prepared
spawn: C:\WINDOWS\system32\cmd.exe /s /c ant debug -f c:\Work\release\testApp2\platforms\android\build.xml -Dns.resources c:\Users\vchimev\AppData\Roaming\npm\node_modules\nativescript\resources\tools
Buildfile: c:\Work\release\testApp2\platforms\android\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.3.0
[checkenv] Installed at c:\Work\Android\sdk
-setup:
[echo] Project Name: testApp2
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
[echo] Resolving Build Target for testApp2...
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin\res
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin\rsObj
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin\rsLibs
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\gen
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin\classes
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for testApp2...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[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...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 2 source files to c:\Work\release\testApp2\platforms\android\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 3 warnings
create_project_lib:
[echo] make lib/android folder
[mkdir] Created dir: c:\Work\release\testApp2\lib\Android
copy_default_sdk:
[copy] Copying 1 file to c:\Work\release\testApp2\lib\Android
retrieve_min_version_from_manifest:
does_min_sdk_jar_exist:
replace_default_sdk_if_possible:
[delete] Deleting: c:\Work\release\testApp2\lib\Android\android.jar
[copy] Copying 1 file to c:\Work\release\testApp2\lib\Android
copy_project_jars:
[copy] Copying 3 files to c:\Work\release\testApp2\lib\Android
[copy] Copying c:\Work\release\testApp2\platforms\android\libs\android-support-v4.jar to c:\Work\release\testApp2\lib\Android\android-support-v4.jar
[copy] Copying c:\Work\release\testApp2\platforms\android\libs\nativescript.jar to c:\Work\release\testApp2\lib\Android\nativescript.jar
[copy] Copying c:\Work\release\testApp2\platforms\android\libs\widgets.jar to c:\Work\release\testApp2\lib\Android\widgets.jar
delete_old_metadata:
generate_metadata_from_given_jars:
[java] android/app/SharedElementCallbackSkip android.support.v4.app.ActivityCompat21$SharedElementCallbackImpl
[java] android/transition/Transition$EpicenterCallback
[java]
[java] Skip android.support.v4.app.FragmentTransitionCompat21$1
[java] Skip android.support.v4.app.FragmentTransitionCompat21$3
[java] android/transition/Transition$EpicenterCallback
[java] android/media/RemoteControlClient$OnGetPlaybackPositionListener
[java] android/media/RemoteControlClient$OnGetPlaybackPositionListener
[java] android/view/ViewTreeObserver$OnWindowAttachListener
[java] android/view/ViewTreeObserver$OnWindowFocusChangeListener
[java] android/media/VolumeProvider
[java] android/media/session/MediaController$Callback
[java] android/media/session/MediaSession$Callback
[java] android/print/PrintDocumentAdapter
[java] android/print/PrintDocumentAdapter
[java] android/view/View$OnApplyWindowInsetsListener
[java] android/view/View$OnApplyWindowInsetsListener
[java] Skip android.support.v4.media.TransportMediator
[java] Skip android.support.v4.media.TransportMediatorJellybeanMR2
[java] Skip android.support.v4.media.TransportMediatorJellybeanMR2$1
[java] Skip android.support.v4.media.TransportMediatorJellybeanMR2$2
[java] Skip android.support.v4.media.VolumeProviderCompatApi21$1
[java] Skip android.support.v4.media.session.MediaControllerCompatApi21$CallbackProxy
[java] Skip android.support.v4.media.session.MediaSessionCompatApi21$CallbackProxy
[java] Skip android.support.v4.print.PrintHelperKitkat$1
[java] Skip android.support.v4.print.PrintHelperKitkat$2
[java] Skip android.support.v4.view.ViewCompatApi21$1
[java] Skip android.support.v4.widget.DrawerLayoutCompatApi21$InsetsListener
[echo] --------- created new metadata and moved it to assets/metadata
-post-compile:
-obfuscate:
-dex:
[dex] input: c:\Work\release\testApp2\platforms\android\bin\classes
[dex] input: c:\Work\release\testApp2\platforms\android\libs\nativescript.jar
[dex] input: c:\Work\release\testApp2\platforms\android\libs\android-support-v4.jar
[dex] input: c:\Work\release\testApp2\platforms\android\libs\widgets.jar
[dex] Pre-Dexing c:\Work\release\testApp2\platforms\android\libs\nativescript.jar -> nativescript-3e8ed1f30a8959e2e6b77f865613f76d.jar
[dex] Pre-Dexing c:\Work\release\testApp2\platforms\android\libs\android-support-v4.jar -> android-support-v4-a15e29622c3d7b71ff0e1f7a7df4dbe9.jar
[dex] Pre-Dexing c:\Work\release\testApp2\platforms\android\libs\widgets.jar -> widgets-d282a65dbc71986c8a1ae6eb5270f18f.jar
[dex] Converting compiled files and external libraries into c:\Work\release\testApp2\platforms\android\bin\classes.dex...
[dx] Merged dex A (6 defs/1.8KiB) with dex B (287 defs/462.9KiB). Result is 293 defs/585.9KiB. Took 0.1s
[dx] Merged dex A (293 defs/585.9KiB) with dex B (805 defs/809.9KiB). Result is 1098 defs/1781.9KiB. Took 0.1s
[dx] Result compacted from 2489.3KiB to 1295.6KiB to save 1193.7KiB
[dx] Merged dex A (1098 defs/1781.9KiB) with dex B (22 defs/45.4KiB). Result is 1120 defs/1295.6KiB. Took 0.1s
-crunch:
[crunch] Crunching PNG Files in source dir: c:\Work\release\testApp2\platforms\android\res
[crunch] To destination dir: c:\Work\release\testApp2\platforms\android\bin\res
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-hdpi\icon.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-hdpi\icon.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-hdpi\icon.png: 37% size of source)
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-ldpi\icon.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-ldpi\icon.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-ldpi\icon.png: 0% size of source)
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-mdpi\icon.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-mdpi\icon.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-mdpi\icon.png: 53% size of source)
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-nodpi\splashscreen.9.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-nodpi\splashscreen.9.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-nodpi\splashscreen.9.png: 92% size of source)
[crunch] Crunched 4 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 testApp2-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk
[propertyfile] Creating new property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
[propertyfile] Updating property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
[propertyfile] Updating property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
[propertyfile] Updating property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 15 seconds
Project successfully built
Using c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk
execFile: adb devices
Starting Android emulator with image Api22
spawn: emulator -avd Api22
execFile: adb devices
execFile: adb devices
execFile: adb devices
execFile: adb -s emulator-5554 shell getprop dev.bootcomplete
execFile: adb -s emulator-5554 shell getprop dev.bootcomplete
spawn: adb -s emulator-5554 shell input keyevent 82
installing c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk through adb
spawn: adb -s emulator-5554 install -r c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk
spawn: adb -s emulator-5554 shell input keyevent 82
running c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk through adb
spawn: adb -s emulator-5554 shell am start -S org.nativescript.testApp2/com.tns.NativeScriptActivity
Exec adb -s emulator-5554 logcat -c
stdout:
stderr:
spawn: adb -s emulator-5554 logcat
--------- beginning of main
I/dex2oat ( 1886): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/com.tns.Async_CompleteCallback_ftns_modules_http_http-request_l9_c24__-1438257437539-1.jar --oat-fd=20 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.com.tns.Async_CompleteCallback_ftns_modules_http_http-request_l9_c24__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 1886): dex2oat took 26.874ms (threads: 1) arena alloc=28KB java alloc=8KB native alloc=503KB free=3MB
I/Choreographer( 1236): Skipped 43 frames! The application may be doing too much work on its main thread.
I/dex2oat ( 1888): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.view.ViewGroup_ftns_modules_ui_core_view_l31_c50__-1438257437539-1.jar --oat-fd=20 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.view.ViewGroup_ftns_modules_ui_core_view_l31_c50__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 1888): dex2oat took 15.299ms (threads: 1) arena alloc=32KB java alloc=16KB native alloc=502KB free=3MB
V/JS ( 1864): AndroidApplication is deprecated
V/JS ( 1864): AndroidApplication is deprecated
V/JS ( 1864): AndroidApplication is deprecated
V/JS ( 1864): AndroidApplication is deprecated
V/JS ( 1864): AndroidApplication is deprecated
V/JS ( 1864): AndroidApplication is deprecated
V/JS ( 1864): AndroidApplication is deprecated
V/JS ( 1864): AndroidApplication is deprecated
I/dex2oat ( 1891): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.app.Application_ActivityLifecycleCallbacks_ftns_modules_application_application_l24_c30__-1438257437539-1.jar --oat-fd=20 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.app.Application_ActivityLifecycleCallbacks_ftns_modules_application_application_l24_c30__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 1891): dex2oat took 10.778ms (threads: 1) arena alloc=27KB java alloc=18KB native alloc=505KB free=3MB
I/dex2oat ( 1893): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.view.View_OnTouchListener_ftns_modules_ui_core_view_l49_c48__-1438257437539-1.jar --oat-fd=20 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.view.View_OnTouchListener_ftns_modules_ui_core_view_l49_c48__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 1893): dex2oat took 8.845ms (threads: 1) arena alloc=30KB java alloc=8KB native alloc=501KB free=3MB
I/dex2oat ( 1895): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.app.Fragment_frnal_prepareExtend_l60_c37__PageFragmentBody-1438257437539-1.jar --oat-fd=20 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.app.Fragment_frnal_prepareExtend_l60_c37__PageFragmentBody --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 1895): dex2oat took 15.067ms (threads: 1) arena alloc=29KB java alloc=38KB native alloc=515KB free=3MB
D/TNS.Java( 1864): NativeScriptActivity.onCreate called
I/dex2oat ( 1897): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.view.View_OnClickListener_ftns_modules_ui_button_button_l27_c42__-1438257437539-1.jar --oat-fd=20 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.view.View_OnClickListener_ftns_modules_ui_button_button_l27_c42__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 1897): dex2oat took 9.744ms (threads: 1) arena alloc=27KB java alloc=8KB native alloc=503KB free=3MB
--------- beginning of system
V/WindowManager( 1236): Adding window Window{107ffe9d u0 org.nativescript.testApp2/com.tns.NativeScriptActivity} at 2 of 6 (before Window{2687e962 u0 Starting org.nativescript.testApp2})
Exec npm install
stdout:
stderr: npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.
D/gralloc_goldfish( 1864): Emulator without GPU emulation detected.
I/ActivityManager( 1236): Displayed org.nativescript.testApp2/com.tns.NativeScriptActivity: +1s445ms
Project successfully prepared
Exec npm install
stdout:
stderr: npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.
Project successfully prepared
spawn: C:\WINDOWS\system32\cmd.exe /s /c ant debug -f c:\Work\release\testApp2\platforms\android\build.xml -Dns.resources c:\Users\vchimev\AppData\Roaming\npm\node_modules\nativescript\resources\tools
Buildfile: c:\Work\release\testApp2\platforms\android\build.xml
I/ActivityManager( 1236): Waited long enough for: ServiceRecord{28756daf u0 com.android.music/.MediaPlaybackService}
I/ActivityManager( 1236): Resuming delayed broadcast
I/ActivityManager( 1236): Start proc 1899:com.android.dialer/u0a4 for broadcast com.android.dialer/.calllog.CallLogReceiver
D/ExtensionsFactory( 1899): No custom extensions.
I/ActivityManager( 1236): Delay finish: com.android.dialer/.calllog.CallLogReceiver
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.3.0
[checkenv] Installed at c:\Work\Android\sdk
-setup:
I/ActivityManager( 1236): Resuming delayed broadcast
[echo] Project Name: testApp2
V/OtaStartupReceiver( 1478): onOtaspChanged: mOtaspMode=3
D/WIFI ( 1236): Registering NetworkFactory
D/WIFI_UT ( 1236): Registering NetworkFactory
D/ConnectivityService( 1236): Got NetworkFactory Messenger for WIFI
D/ConnectivityService( 1236): Got NetworkFactory Messenger for WIFI_UT
D/WIFI ( 1236): got request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 50
D/WIFI_UT ( 1236): got request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 50
I/ActivityManager( 1236): Delay finish: com.android.providers.downloads/.DownloadReceiver
[gettype] Project Type: Application
I/ActivityManager( 1236): Resuming delayed broadcast
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
I/ActivityManager( 1236): Start proc 1918:com.android.managedprovisioning/u0a8 for broadcast com.android.managedprovisioning/.BootReminder
I/art ( 946): Explicit concurrent mark sweep GC freed 701(30KB) AllocSpace objects, 0(0B) LOS objects, 84% free, 92KB/604KB, paused 1.205ms total 17.007ms
I/art ( 946): Explicit concurrent mark sweep GC freed 8(256B) AllocSpace objects, 0(0B) LOS objects, 84% free, 92KB/604KB, paused 1.009ms total 10.332ms
[getbuildtools] Using latest Build Tools: 22.0.1
[echo] Resolving Build Target for testApp2...
I/art ( 946): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 84% free, 92KB/604KB, paused 1.004ms total 16.764ms
I/ActivityManager( 1236): Delay finish: com.android.providers.media/.MediaScannerReceiver
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin\rsObj
[mkdir] Created dir: c:\Work\release\testApp2\platforms\android\bin\rsLibs
[echo] ----------
[echo] Resolving Dependencies for testApp2...
E/SQLiteLog( 1432): (283) recovered 69 frames from WAL file /data/data/com.android.providers.media/databases/internal.db-wal
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Found Deleted Target File
[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...
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
[javac] Compiling 1 source file to c:\Work\release\testApp2\platforms\android\bin\classes
W/MediaScanner( 1432): Error opening directory '/oem/media/', skipping: No such file or directory.
V/MediaScanner( 1432): pruneDeadThumbnailFiles... android.database.sqlite.SQLiteCursor@3b451483
V/MediaScanner( 1432): /pruneDeadThumbnailFiles... android.database.sqlite.SQLiteCursor@3b451483
I/ActivityManager( 1236): Resuming delayed broadcast
I/ActivityManager( 1236): Delay finish: com.android.mms/.transaction.MmsSystemEventReceiver
D/ConnectivityManager( 1743): getMobileDataEnabled()+ subId=1
D/PhoneInterfaceManager( 1478): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager( 1478): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/ConnectivityManager( 1743): getMobileDataEnabled()- subId=1 retVal=true
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
I/ActivityManager( 1236): Resuming delayed broadcast
I/ActivityManager( 1236): Delay finish: com.android.mms/.transaction.SmsReceiver
D/Mms ( 1743): cancelNotification
D/Mms ( 1743): cancelNotification
I/ActivityManager( 1236): Resuming delayed broadcast
I/ActivityManager( 1236): Start proc 1942:com.android.settings/1000 for broadcast com.android.settings/.sim.SimBootReceiver
[javac] 3 warnings
create_project_lib:
[echo] make lib/android folder
copy_default_sdk:
retrieve_min_version_from_manifest:
does_min_sdk_jar_exist:
replace_default_sdk_if_possible:
[delete] Deleting: c:\Work\release\testApp2\lib\Android\android.jar
[copy] Copying 1 file to c:\Work\release\testApp2\lib\Android
copy_project_jars:
delete_old_metadata:
generate_metadata_from_given_jars:
D/AlertReceiver( 1702): onReceive: a=android.intent.action.BOOT_COMPLETED Intent { act=android.intent.action.BOOT_COMPLETED flg=0x8000010 cmp=com.android.calendar/.alerts.AlertReceiver (has extras) }
I/ActivityManager( 1236): Delay finish: com.android.calendar/.alerts.AlertReceiver
D/AlertService( 1702): 0 Action = android.intent.action.BOOT_COMPLETED
D/AlertService( 1702): Scheduling next alarm with AlarmScheduler. sEventReminderReceived: null
D/AlarmScheduler( 1702): No events found starting within 1 week.
[java] Skip android.support.v4.app.ActivityCompat21$SharedElementCallbackImplandroid/app/SharedElementCallback
[java]
[java] android/transition/Transition$EpicenterCallback
[java] android/transition/Transition$EpicenterCallback
[java] Skip android.support.v4.app.FragmentTransitionCompat21$1
[java] Skip android.support.v4.app.FragmentTransitionCompat21$3
[java] Skip android.support.v4.media.TransportMediator
[java] Skip android.support.v4.media.TransportMediatorJellybeanMR2
[java] Skip android.support.v4.media.TransportMediatorJellybeanMR2$1
[java] Skip android.support.v4.media.TransportMediatorJellybeanMR2$2
[java] Skip android.support.v4.media.VolumeProviderCompatApi21$1
[java] Skip android.support.v4.media.session.MediaControllerCompatApi21$CallbackProxy
[java] Skip android.support.v4.media.session.MediaSessionCompatApi21$CallbackProxy
[java] Skip android.support.v4.print.PrintHelperKitkat$1
[java] Skip android.support.v4.print.PrintHelperKitkat$2
[java] android/media/RemoteControlClient$OnGetPlaybackPositionListener
[java] android/media/RemoteControlClient$OnGetPlaybackPositionListener
[java] android/view/ViewTreeObserver$OnWindowAttachListener
[java] android/view/ViewTreeObserver$OnWindowFocusChangeListener
[java] android/media/VolumeProvider
[java] android/media/session/MediaController$Callback
[java] android/media/session/MediaSession$Callback
[java] android/print/PrintDocumentAdapter
[java] android/print/PrintDocumentAdapter
[java] Skip android.support.v4.view.ViewCompatApi21$1
[java] Skip android.support.v4.widget.DrawerLayoutCompatApi21$InsetsListener
[java] android/view/View$OnApplyWindowInsetsListener
[java] android/view/View$OnApplyWindowInsetsListener
[echo] --------- created new metadata and moved it to assets/metadata
-post-compile:
-obfuscate:
-dex:
[dex] input: c:\Work\release\testApp2\platforms\android\bin\classes
[dex] input: c:\Work\release\testApp2\platforms\android\libs\nativescript.jar
[dex] input: c:\Work\release\testApp2\platforms\android\libs\android-support-v4.jar
[dex] input: c:\Work\release\testApp2\platforms\android\libs\widgets.jar
[dex] Using Pre-Dexed nativescript-3e8ed1f30a8959e2e6b77f865613f76d.jar <- c:\Work\release\testApp2\platforms\android\libs\nativescript.jar
[dex] Using Pre-Dexed android-support-v4-a15e29622c3d7b71ff0e1f7a7df4dbe9.jar <- c:\Work\release\testApp2\platforms\android\libs\android-support-v4.jar
[dex] Using Pre-Dexed widgets-d282a65dbc71986c8a1ae6eb5270f18f.jar <- c:\Work\release\testApp2\platforms\android\libs\widgets.jar
[dex] Found Deleted Target File
[dex] Converting compiled files and external libraries into c:\Work\release\testApp2\platforms\android\bin\classes.dex...
[dx] Merged dex A (6 defs/1.8KiB) with dex B (287 defs/462.9KiB). Result is 293 defs/585.9KiB. Took 0.1s
[dx] Merged dex A (293 defs/585.9KiB) with dex B (805 defs/809.9KiB). Result is 1098 defs/1781.9KiB. Took 0.1s
[dx] Result compacted from 2489.3KiB to 1295.6KiB to save 1193.7KiB
[dx] Merged dex A (1098 defs/1781.9KiB) with dex B (22 defs/45.4KiB). Result is 1120 defs/1295.6KiB. Took 0.1s
-crunch:
[crunch] Crunching PNG Files in source dir: c:\Work\release\testApp2\platforms\android\res
[crunch] To destination dir: c:\Work\release\testApp2\platforms\android\bin\res
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-hdpi\icon.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-hdpi\icon.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-hdpi\icon.png: 37% size of source)
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-ldpi\icon.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-ldpi\icon.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-ldpi\icon.png: 0% size of source)
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-mdpi\icon.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-mdpi\icon.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-mdpi\icon.png: 53% size of source)
[crunch] Processing image to cache: c:\Work\release\testApp2\platforms\android\res\drawable-nodpi\splashscreen.9.png => c:\Work\release\testApp2\platforms\android\bin\res\drawable-nodpi\splashscreen.9.png
[crunch] (processed image to cache entry c:\Work\release\testApp2\platforms\android\bin\res\drawable-nodpi\splashscreen.9.png: 92% size of source)
[crunch] Crunched 4 PNG files to update cache
-package-resources:
[aapt] Found Deleted Target File
[aapt] Creating full resource package...
-package:
[apkbuilder] Found Deleted Target File
[apkbuilder] Creating testApp2-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk
[propertyfile] Updating property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
[propertyfile] Updating property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
[propertyfile] Updating property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
[propertyfile] Updating property file: c:\Work\release\testApp2\platforms\android\bin\build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 8 seconds
Project successfully built
Using c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk
startLookingForDevices; platform is Android
Exec "adb" start-server
stdout:
stderr:
Exec "adb" devices
stdout: List of devices attached
emulator-5554 device
stderr:
Shell command "adb" -s emulator-5554 shell cat /system/build.prop
Exec "adb" -s emulator-5554 shell cat /system/build.prop
stdout:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=LKY45
ro.build.display.id=sdk_phone_x86-eng 5.1 LKY45 1737576 test-keys
ro.build.version.incremental=1737576
ro.build.version.sdk=22
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=5.1
ro.build.date=Sat Feb 14 14:16:23 UTC 2015
ro.build.date.utc=1423923383
ro.build.type=eng
ro.build.user=android-build
ro.build.host=wpef20.hot.corp.google.com
ro.build.tags=test-keys
ro.build.flavor=sdk_phone_x86-eng
ro.product.model=Android SDK built for x86
ro.product.brand=generic_x86
ro.product.name=sdk_phone_x86
ro.product.device=generic_x86
ro.product.board=
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=x86
ro.product.cpu.abilist=x86
ro.product.cpu.abilist32=x86
ro.product.cpu.abilist64=
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=
# ro.build.product is obsolete; use ro.product.device
ro.build.product=generic_x86
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=sdk_phone_x86-eng 5.1 LKY45 1737576 test-keys
ro.build.fingerprint=generic_x86/sdk_phone_x86/generic_x86:5.1/LKY45/1737576:eng/test-keys
ro.build.characteristics=default
# end build properties
#
# from build/target/board/generic_x86/system.prop
#
#
# system.prop for generic sdk
#
rild.libpath=/system/lib/libreference-ril.so
rild.libargs=-d /dev/ttyS0
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.x86.features=default
ro.kernel.android.checkjni=1
xmpp.auto-presence=true
ro.config.nocheckin=yes
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
stderr:
Found device with identifier 'emulator-5554'
Shell command "adb" -s emulator-5554 shell pm uninstall "org.nativescript.testApp2"
D/AndroidRuntime( 1964): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
D/AndroidRuntime( 1964): CheckJNI is ON
E/memtrack( 1964): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 1964): failed to load memtrack module: -2
D/AndroidRuntime( 1964): Calling main entry com.android.commands.pm.Pm
I/ActivityManager( 1236): Force stopping org.nativescript.testApp2 appid=10058 user=-1: uninstall pkg
I/ActivityManager( 1236): Killing 1864:org.nativescript.testApp2/u0a58 (adj 0): stop org.nativescript.testApp2
W/InputDispatcher( 1236): channel '107ffe9d org.nativescript.testApp2/com.tns.NativeScriptActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 1236): channel '107ffe9d org.nativescript.testApp2/com.tns.NativeScriptActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
I/WindowState( 1236): WIN DEATH: Window{107ffe9d u0 org.nativescript.testApp2/com.tns.NativeScriptActivity}
W/InputDispatcher( 1236): Attempted to unregister already unregistered input channel '107ffe9d org.nativescript.testApp2/com.tns.NativeScriptActivity (server)'
W/ActivityManager( 1236): Force removing ActivityRecord{2a30bb03 u0 org.nativescript.testApp2/com.tns.NativeScriptActivity t56}: app died, no saved state
W/ActivityManager( 1236): Spurious death for ProcessRecord{252c5ed3 1864:org.nativescript.testApp2/u0a58}, curProc for 1864: null
W/art ( 1519): Suspending all threads took: 20.521ms
W/InputMethodManagerService( 1236): Got RemoteException sending setActive(false) notification to pid 1864 uid 10058
I/ActivityManager( 1236): Force stopping org.nativescript.testApp2 appid=10058 user=0: pkg removed
I/art ( 1313): Explicit concurrent mark sweep GC freed 3215(294KB) AllocSpace objects, 1(2MB) LOS objects, 25% free, 3MB/4MB, paused 970us total 14.399ms
I/art ( 1236): Explicit concurrent mark sweep GC freed 8655(693KB) AllocSpace objects, 6(94KB) LOS objects, 19% free, 6MB/7MB, paused 1.182ms total 19.295ms
D/TaskPersister( 1236): removeObsoleteFile: deleting file=56_task.xml
I/InputReader( 1236): Reconfiguring input devices. changes=0x00000010
D/JobSchedulerService( 1236): Receieved: android.intent.action.PACKAGE_REMOVED
D/BackupManagerService( 1236): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.nativescript.testApp2 flg=0x4000010 (has extras) }
I/LatinIME:LogUtils( 1345): Dictionary info: dictionary = main:en ; version = 47 ; date = 1402373178
I/art ( 1236): Explicit concurrent mark sweep GC freed 5993(345KB) AllocSpace objects, 1(20KB) LOS objects, 19% free, 6MB/7MB, paused 1.032ms total 20.784ms
I/art ( 1964): System.exit called, status: 0
I/AndroidRuntime( 1964): VM exiting with result code 0.
Exec "adb" -s emulator-5554 shell pm uninstall "org.nativescript.testApp2"
stdout: Success
stderr:
D/AndroidRuntime( 1980): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
D/AndroidRuntime( 1980): CheckJNI is ON
E/memtrack( 1980): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 1980): failed to load memtrack module: -2
D/AndroidRuntime( 1980): Calling main entry com.android.commands.pm.Pm
D/DefContainer( 1820): Copying /data/local/tmp/testApp2-debug.apk to base.apk
D/PackageManager( 1236): Renaming /data/app/vmdl1224766528.tmp to /data/app/org.nativescript.testApp2-1
I/PackageManager( 1236): Running dexopt on: /data/app/org.nativescript.testApp2-1/base.apk pkg=org.nativescript.testApp2 isa=x86 vmSafeMode=false
I/dex2oat ( 1992): /system/bin/dex2oat --zip-fd=6 --zip-location=/data/app/org.nativescript.testApp2-1/base.apk --oat-fd=7 --oat-location=/data/dalvik-cache/x86/data@app@org.nativescript.testApp2-1@base.apk@classes.dex --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=10
I/dex2oat ( 1992): Decided to run without swap.
I/dex2oat ( 1992): dex2oat took 3.043s (threads: 1) arena alloc=534KB java alloc=2031KB native alloc=4MB free=3MB
V/BackupManagerService( 1236): restoreAtInstall pkg=org.nativescript.testApp2 token=2 restoreSet=0
V/BackupManagerService( 1236): Finishing install immediately
D/BackupManagerService( 1236): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.nativescript.testApp2 flg=0x4000010 (has extras) }
W/BackupManagerService( 1236): Removing schedule queue dupe of org.nativescript.testApp2
I/InputReader( 1236): Reconfiguring input devices. changes=0x00000010
I/ActivityManager( 1236): Waited long enough for: ServiceRecord{127fc0c2 u0 com.android.calendar/.alerts.InitAlarmsService}
I/ActivityManager( 1236): Resuming delayed broadcast
V/AlarmClock( 1670): AlarmInitReceiver android.intent.action.BOOT_COMPLETED
W/Settings( 1236): Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
V/AlarmClock( 1670): AlarmInitReceiver - Reset timers and clear stopwatch data
V/AlarmClock( 1670): AlarmInitReceiver finished
I/ActivityManager( 1236): Start proc 1996:com.android.email/u0a25 for broadcast com.android.email/.service.EmailBroadcastReceiver
I/art ( 1236): Explicit concurrent mark sweep GC freed 15315(1091KB) AllocSpace objects, 10(183KB) LOS objects, 19% free, 6MB/7MB, paused 1.247ms total 67.630ms
I/art ( 1980): System.exit called, status: 0
I/AndroidRuntime( 1980): VM exiting with result code 0.
Exec "adb" -s emulator-5554 install -r "c:\Work\release\testApp2\platforms\android\bin\testApp2-debug.apk"
stdout: pkg: /data/local/tmp/testApp2-debug.apk
Success
stderr: 1425 KB/s (6763276 bytes in 4.633s)
Shell command "adb" -s emulator-5554 shell rm "/sdcard/Android/data/org.nativescript.testApp2/files//envDebug.out"
Exec "adb" -s emulator-5554 shell rm "/sdcard/Android/data/org.nativescript.testApp2/files//envDebug.out"
stdout: rm: /sdcard/Android/data/org.nativescript.testApp2/files//envDebug.out: No such file or directory
stderr:
Shell command "adb" -s emulator-5554 shell mkdir -p "/sdcard/Android/data/org.nativescript.testApp2/files/"
Exec "adb" -s emulator-5554 shell mkdir -p "/sdcard/Android/data/org.nativescript.testApp2/files/"
stdout:
stderr:
Shell command "adb" -s emulator-5554 shell "cat /dev/null > /sdcard/Android/data/org.nativescript.testApp2/files//debugbreak"
Exec "adb" -s emulator-5554 shell "cat /dev/null > /sdcard/Android/data/org.nativescript.testApp2/files//debugbreak"
stdout:
stderr:
Shell command "adb" -s emulator-5554 shell am start -a android.intent.action.MAIN -n org.nativescript.testApp2/com.tns.NativeScriptActivity -c android.intent.category.LAUNCHER
D/AndroidRuntime( 2021): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
D/AndroidRuntime( 2021): CheckJNI is ON
E/memtrack( 2021): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 2021): failed to load memtrack module: -2
D/AndroidRuntime( 2021): Calling main entry com.android.commands.am.Am
I/ActivityManager( 1236): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.nativescript.testApp2/com.tns.NativeScriptActivity} from uid 0 on display 0
V/WindowManager( 1236): addAppToken: AppWindowToken{3dc4ff82 token=Token{32aecacd ActivityRecord{13bcd864 u0 org.nativescript.testApp2/com.tns.NativeScriptActivity t57}}} to stack=1 task=57 at 0
V/WindowManager( 1236): Adding window Window{db426e7 u0 Starting org.nativescript.testApp2} at 2 of 5 (after Window{1a9266ce u0 com.android.launcher/com.android.launcher2.Launcher})
D/AndroidRuntime( 2021): Shutting down VM
I/ActivityManager( 1236): Start proc 2032:org.nativescript.testApp2/u0a67 for activity org.nativescript.testApp2/com.tns.NativeScriptActivity
I/art ( 2032): Not late-enabling -Xcheck:jni (already on)
I/TNS.Native( 2032): NativeScript Runtime Version undefined, commit 6b4e21e153479be11d277c1c283d7ec1262a23f6
D/TNS.Native( 2032): JNI_ONLoad
D/TNS.Native( 2032): JNI_ONLoad END
Exec "adb" -s emulator-5554 shell am start -a android.intent.action.MAIN -n org.nativescript.testApp2/com.tns.NativeScriptActivity -c android.intent.category.LAUNCHER
stdout: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.nativescript.testApp2/com.tns.NativeScriptActivity }
stderr:
Shell command "adb" -s emulator-5554 shell rm "/sdcard/Android/data/org.nativescript.testApp2/files/envDebug.in"
I/Choreographer( 1519): Skipped 39 frames! The application may be doing too much work on its main thread.
Exec "adb" -s emulator-5554 shell rm "/sdcard/Android/data/org.nativescript.testApp2/files/envDebug.in"
stdout: rm: /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.in: No such file or directory
stderr:
D/TNS.Native( 2032): lenNodes=50520, lenNames=464927, lenValues=501436
D/TNS.Native( 2032): time=0
I/ActivityManager( 1236): Start proc 2051:com.android.exchange/u0a27 for service com.android.exchange/.service.EasService
D/ActivityThread( 1996): Loading provider com.android.email.provider;com.android.email.notifier: com.android.email.provider.EmailProvider
D/ActivityThread( 1996): Loading provider com.android.email.provider;com.android.email.notifier: com.android.email.provider.EmailProvider
I/ActivityManager( 1236): Delay finish: com.android.email/.service.EmailBroadcastReceiver
I/Choreographer( 1236): Skipped 39 frames! The application may be doing too much work on its main thread.
W/ActivityManager( 1236): Unable to start service Intent { cmp=com.android.email/.service.AttachmentService } U=0: not found
I/ActivityManager( 1236): Resuming delayed broadcast
I/SystemBroadcastReceiver( 1345): Boot has been completed
I/LauncherIconVisibilityManager( 1345): Activity has already been disabled: ComponentInfo{com.android.inputmethod.latin/com.android.inputmethod.latin.setup.SetupActivity}
W/ActivityManager( 1236): Unable to start service Intent { cmp=com.android.email/.service.AttachmentService } U=0: not found
I/Exchange( 2051): EasService.onCreate
E/ActivityThread( 1996): Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@2537ff32 that was originally bound here
E/ActivityThread( 1996): android.app.ServiceConnectionLeaked: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@2537ff32 that was originally bound here
E/ActivityThread( 1996): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1077)
E/ActivityThread( 1996): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:971)
E/ActivityThread( 1996): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1774)
E/ActivityThread( 1996): at android.app.ContextImpl.bindService(ContextImpl.java:1757)
E/ActivityThread( 1996): at android.content.ContextWrapper.bindService(ContextWrapper.java:539)
E/ActivityThread( 1996): at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:181)
E/ActivityThread( 1996): at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:224)
E/ActivityThread( 1996): at com.android.email.service.EmailServiceUtils.isServiceAvailable(EmailServiceUtils.java:160)
E/ActivityThread( 1996): at com.android.email.provider.AccountReconciler.reconcileAccountsInternal(AccountReconciler.java:171)
E/ActivityThread( 1996): at com.android.email.provider.AccountReconciler.reconcileAccounts(AccountReconciler.java:115)
E/ActivityThread( 1996): at com.android.email.service.EmailBroadcastProcessorService.reconcileAndStartServices(EmailBroadcastProcessorService.java:305)
E/ActivityThread( 1996): at com.android.email.service.EmailBroadcastProcessorService.onBootCompleted(EmailBroadcastProcessorService.java:295)
E/ActivityThread( 1996): at com.android.email.service.EmailBroadcastProcessorService.onHandleIntent(EmailBroadcastProcessorService.java:130)
E/ActivityThread( 1996): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
E/ActivityThread( 1996): at android.os.Handler.dispatchMessage(Handler.java:102)
E/ActivityThread( 1996): at android.os.Looper.loop(Looper.java:135)
E/ActivityThread( 1996): at android.os.HandlerThread.run(HandlerThread.java:61)
I/ActivityManager( 1236): Delay finish: com.android.mms/.transaction.SmsReceiver
V/Mms ( 1743): onStart: #1 mResultCode: -1 = Activity.RESULT_OK
W/ActivityManager( 1236): Unable to start service Intent { cmp=com.android.email/.service.AttachmentService } U=0: not found
I/ActivityManager( 1236): Resuming delayed broadcast
D/AlertReceiver( 1702): onReceive: a=android.intent.action.PROVIDER_CHANGED Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.android.calendar flg=0x10 cmp=com.android.calendar/.alerts.AlertReceiver }
I/ActivityManager( 1236): Delay finish: com.android.calendar/.alerts.AlertReceiver
I/Email ( 1996): Observing account changes for notifications
D/AlertService( 1702): 0 Action = android.intent.action.PROVIDER_CHANGED
I/Exchange( 2051): RestartPingTask
I/Exchange( 2051): RestartPingsTask did not start any pings.
I/Exchange( 2051): PSS stopIfIdle
I/Exchange( 2051): PSS has no active accounts; stopping service.
I/Exchange( 2051): onDestroy
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.out && echo 'yes' || echo 'no'
Shell command "adb" -s emulator-5554 shell "cat /dev/null > /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.in"
Exec "adb" -s emulator-5554 shell "cat /dev/null > /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.in"
stdout:
stderr:
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell cat /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.out
D/TNS.Java( 2032): port=33747
spawn: adb shell test -f /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.out && echo 'yes' || echo 'no'
spawn: adb shell cat /sdcard/Android/data/org.nativescript.testApp2/files/envDebug.out
Exec "adb" -s emulator-5554 forward tcp:33747 tcp:33747
stdout:
stderr:
spawn: c:\Program Files (x86)\nodejs\node.exe c:\Users\vchimev\AppData\Roaming\npm\node_modules\nativescript\node_modules\node-inspector\bin\inspector --debug-port 33747
I/GlobalDismissManager( 1702): no sender configured
D/AlertService( 1702): Beginning updateAlertNotification
D/AlertService( 1702): No fired or scheduled alerts
D/AlertService( 1702): Scheduling next alarm with AlarmScheduler. sEventReminderReceived: null
D/AlarmScheduler( 1702): No events found starting within 1 week.
I/ActivityManager( 1236): Resuming delayed broadcast
I/ActivityManager( 1236): Start proc 2094:com.svox.pico/u0a38 for broadcast com.svox.pico/.VoiceDataInstallerReceiver
I/ActivityManager( 1236): Delay finish: com.android.providers.calendar/.CalendarProviderBroadcastReceiver
E/SQLiteLog( 1726): (284) automatic index on view_events(_id)
I/ActivityManager( 1236): Resuming delayed broadcast
D/VoicemailCleanupService( 1537): Cleaning up data for package: org.nativescript.testApp2
I/ActivityManager( 1236): Delay finish: com.android.providers.contacts/.PackageIntentReceiver
I/ActivityManager( 1236): Resuming delayed broadcast
W/ContextImpl( 1775): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1692 android.content.ContextWrapper.startService:516 android.content.ContextWrapper.startService:516 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:2612
I/ActivityManager( 1236): Delay finish: com.android.keychain/.KeyChainBroadcastReceiver
I/ActivityManager( 1236): Resuming delayed broadcast
I/ActivityManager( 1236): Start proc 2112:com.android.documentsui/u0a24 for broadcast com.android.documentsui/.PackageReceiver
D/Documents( 2112): Update found 6 roots in 119ms
W/ActivityManager( 1236): Launch timeout has expired, giving up wake lock!
I/dex2oat ( 2129): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/com.tns.Async_CompleteCallback_ftns_modules_http_http-request_l9_c24__-1438257457478-1.jar --oat-fd=23 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.com.tns.Async_CompleteCallback_ftns_modules_http_http-request_l9_c24__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 2129): dex2oat took 34.831ms (threads: 1) arena alloc=28KB java alloc=8KB native alloc=503KB free=3MB
I/dex2oat ( 2131): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.view.ViewGroup_ftns_modules_ui_core_view_l31_c50__-1438257457478-1.jar --oat-fd=23 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.view.ViewGroup_ftns_modules_ui_core_view_l31_c50__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 2131): dex2oat took 10.244ms (threads: 1) arena alloc=32KB java alloc=16KB native alloc=502KB free=3MB
V/JS ( 2032): AndroidApplication is deprecated
V/JS ( 2032): AndroidApplication is deprecated
V/JS ( 2032): AndroidApplication is deprecated
V/JS ( 2032): AndroidApplication is deprecated
V/JS ( 2032): AndroidApplication is deprecated
V/JS ( 2032): AndroidApplication is deprecated
V/JS ( 2032): AndroidApplication is deprecated
V/JS ( 2032): AndroidApplication is deprecated
I/dex2oat ( 2133): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.app.Application_ActivityLifecycleCallbacks_ftns_modules_application_application_l24_c30__-1438257457478-1.jar --oat-fd=23 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.app.Application_ActivityLifecycleCallbacks_ftns_modules_application_application_l24_c30__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 2133): dex2oat took 48.833ms (threads: 1) arena alloc=27KB java alloc=18KB native alloc=505KB free=3MB
I/dex2oat ( 2135): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.view.View_OnTouchListener_ftns_modules_ui_core_view_l49_c48__-1438257457478-1.jar --oat-fd=23 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.view.View_OnTouchListener_ftns_modules_ui_core_view_l49_c48__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 2135): dex2oat took 7.510ms (threads: 1) arena alloc=30KB java alloc=8KB native alloc=501KB free=3MB
I/dex2oat ( 2137): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.app.Fragment_frnal_prepareExtend_l60_c37__PageFragmentBody-1438257457478-1.jar --oat-fd=23 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.app.Fragment_frnal_prepareExtend_l60_c37__PageFragmentBody --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 2137): dex2oat took 17.471ms (threads: 1) arena alloc=29KB java alloc=38KB native alloc=515KB free=3MB
D/TNS.Java( 2032): NativeScriptActivity.onCreate called
I/dex2oat ( 2139): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/android.view.View_OnClickListener_ftns_modules_ui_button_button_l27_c42__-1438257457478-1.jar --oat-fd=23 --oat-location=/data/data/org.nativescript.testApp2/code_cache/secondary-dexes/odex/com.tns.gen.android.view.View_OnClickListener_ftns_modules_ui_button_button_l27_c42__ --runtime-arg -Xms64m --runtime-arg -Xmx512m
I/dex2oat ( 2139): dex2oat took 7.982ms (threads: 1) arena alloc=27KB java alloc=8KB native alloc=503KB free=3MB
V/WindowManager( 1236): Adding window Window{342a37d5 u0 org.nativescript.testApp2/com.tns.NativeScriptActivity} at 2 of 6 (before Window{db426e7 u0 Starting org.nativescript.testApp2})
D/gralloc_goldfish( 2032): Emulator without GPU emulation detected.
I/ActivityManager( 1236): Displayed org.nativescript.testApp2/com.tns.NativeScriptActivity: +13s118ms
I/Choreographer( 2032): Skipped 71 frames! The application may be doing too much work on its main thread.
D/InitAlarmsService( 1702): Clearing and rescheduling alarms.
I/ActivityManager( 1236): Killing 1654:com.android.externalstorage/u0a6 (adj 15): empty #17
I/ActivityManager( 1236): Delay finish: com.android.providers.calendar/.CalendarProviderBroadcastReceiver
I/ActivityManager( 1236): Resuming delayed broadcast
I/MediaFocusControl( 1236): AudioFocus abandonAudioFocus() from android.media.AudioManager@11303a64com.android.music.MediaPlaybackService$3@10ab84cd
I/ActivityManager( 1236): Killing 1552:com.android.printspooler/u0a39 (adj 15): empty #17
W/AudioTrack( 1236): AUDIO_OUTPUT_FLAG_FAST denied by client
I/Choreographer( 2032): Skipped 2772 frames! The application may be doing too much work on its main thread.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment