Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 didn'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?

like image 325
R_Dhorawat Avatar asked Nov 26 '22 20:11

R_Dhorawat


1 Answers

There is some info about this on the nitobi/phonegap blog:

http://blogs.nitobi.com/joe/2010/02/26/console-log-on-android-webview/

like image 69
Jonathan Stark Avatar answered Dec 04 '22 15:12

Jonathan Stark