Skip to content

Instantly share code, notes, and snippets.

@vchimev
vchimev / JNI_ERROR_1
Last active August 29, 2015 14:25
JNI ERROR (app bug): local reference table overflow (max=512)
--------- beginning of /dev/log/system
V/WiredAccessoryManager( 1266): init()
I/PowerManagerService( 1266): Boot animation finished.
I/ActivityManager( 1266): Delay finish: com.android.providers.downloads/.DownloadReceiver
--------- beginning of /dev/log/main
I/Choreographer( 1266): Skipped 36 frames! The application may be doing too much work on its main thread.
I/ActivityManager( 1266): Resuming delayed broadcast
I/ActivityManager( 1266): Delay finish: com.android.providers.media/.MediaScannerReceiver
I/RecoverySystem( 1266): No recovery log file
I/BootReceiver( 1266): Copying audit failures to DropBox
@vchimev
vchimev / JNI_ERROR_2
Created July 16, 2015 07:42
JNI ERROR (app bug): local reference table overflow (max=512)
--------- beginning of /dev/log/main
D/dalvikvm( 2072): Trying to load lib /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so 0xb1fb3d40
D/dalvikvm( 2072): Added shared lib /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so 0xb1fb3d40
I/TNS.Native( 2072): NativeScript Runtime Version undefined, commit f503b69f686fa053aeb6b43300dcfe129700f1a7
D/TNS.Native( 2072): JNI_ONLoad
D/TNS.Native( 2072): JNI_ONLoad END
I/Choreographer( 1266): Skipped 45 frames! The application may be doing too much work on its main thread.
D/TNS.Native( 2072): lenNodes=49656, lenNames=460807, lenValues=492587
D/TNS.Native( 2072): time=1
D/TNS.Java( 2072): port=-1
@vchimev
vchimev / gist:9587d957355e40d1bc7a
Created July 30, 2015 12:06
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
@vchimev
vchimev / gist:2c97c3ec6da5c7feec77
Created July 30, 2015 13:27
Enable "tns debug" default option
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
@vchimev
vchimev / gist:68086fd0b535e5e4b361
Created August 5, 2015 11:16
--debug-brk does not lunch the debugger
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
@vchimev
vchimev / platform-update-ios-log-trace.txt
Created August 19, 2015 11:40
platform-update-ios-log-trace
vchimevmac:platformApp vchimev$ tns platform update ios --log trace
Exec uname -a
stdout: Darwin vchimevmac.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
stderr:
Exec npm -v
stdout: 2.13.4
stderr:
spawn: java -version
VCHIMEVMAC:TNS_App vchimev$ ../node_modules/.bin/tns build ios --log trace
Exec uname -a
stdout: Darwin VCHIMEVMAC.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
stderr:
Exec npm -v
stdout: 2.12.1
stderr:
spawn: java -version
VCHIMEVMAC:podPlatformPlugin vchimev$ ../node_modules/.bin/tns build ios --log trace
Exec uname -a
stdout: Darwin VCHIMEVMAC.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
stderr:
Exec npm -v
stdout: 2.12.1
stderr:
spawn: java -version
VCHIMEVMAC:master vchimev$ node_modules/.bin/tns build ios --path myApp --log trace
Exec uname -a
stdout: Darwin VCHIMEVMAC.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
stderr:
Exec npm -v
stdout: 2.12.1
stderr:
spawn: java -version
VCHIMEVMAC:master vchimev$ node_modules/.bin/tns plugin add nativescript-telerik-ui --path appUI
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
nativescript-telerik-ui@0.0.8 appUI/node_modules/nativescript-telerik-ui
└── nativescript-plugin-appcompat@22.2.1
Successfully installed plugin nativescript-telerik-ui.
VCHIMEVMAC:master vchimev$ node_modules/.bin/tns platform add android --path appUI
Copying template files...
Project successfully created.