android-tools icon indicating copy to clipboard operation
android-tools copied to clipboard

remotejs console.log not logging data

Open lrowe opened this issue 13 years ago • 0 comments

When I run remotejs (either shell or desktop) no console.log values are printed.

$ python2.6 remotejs.py 
# RemoteJS - Remote JavaScript Console for Android.
# Please wait...
# Target device is HT15TTJ00445.
www.google.com
console.log('foo')

Looking at a concurrent adb logcat I see:

D/AndroidRuntime(11529): 
D/AndroidRuntime(11529): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(11529): CheckJNI is OFF
D/dalvikvm(11529): creating instr width table
D/AndroidRuntime(11529): Calling main entry com.android.commands.am.Am
D/AndroidRuntime(11529): Shutting down VM
I/ActivityManager( 1345): Starting activity: Intent { act=android.intent.action.VIEW dat=amF2YXNjcmlwdDooZnVuY3Rpb24oKSB7IGNvbnNvbGUubG9nKCdmb28nKTsgfSkoKQ== flg=0x10000000 cmp=com.sencha.remotejs/.RemoteJS } from pid 11529
D/dalvikvm(11529): GC_CONCURRENT freed 104K, 66% free 351K/1024K, external 0K/0K, paused 0ms+0ms
I/AndroidRuntime(11529): NOTE: attach of thread 'Binder Thread #3' failed
D/jdwp    (11529): adbd disconnected

I'm running Mac OS 10.6 with Android SDK Tools 16 and Android SDK Platform-tools 10.

Revision of android-tools: 895c92952855c3df8ccdd689ac4e788afc9a46cf

lrowe avatar Feb 20 '12 14:02 lrowe