console.log is not working in Android 2.1 emulator
I'm running one web application... in an Android emulator browser. In one javascript file I'm trying to output some string as:
console.log("android");
But I d开发者_高级运维idn't got this log using adb logcat.
I even tried to start adb logcat firstly and then tun the app, but didn't get a log message
which I used in console.log
Is there any way I can get my log message?
There is some info about this on the nitobi/phonegap blog:
http://blogs.nitobi.com/joe/2010/02/26/console-log-on-android-webview/
I don't think Android's browser supports console.log
, nor do I believe it is possible to write to logcat from within the browser.
精彩评论