Why doesn’t “System.out.println” work in Android?

I want to print something in console, so that I can debug it. But for some reason, nothing prints in my Android application. How do I debug then? public class HelloWebview extends Activity { WebView webview; private static final String LOG_TAG = “WebViewDemo”; private class HelloWebViewClient extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, String … Read more

Accessing console and devtools of extension’s background.js

I just started out with Google Chrome extensions and I can’t seem to log to console from my background js. When an error occurs (because of a syntax error, for example), I can’t find any error messages either. My manifest file: { “name”: “My First Extension”, “version”: “1.0”, “manifest_version”: 2, “description”: “The first extension that … Read more