Start a new topic

android remote debugging

Hi, I saw in the documentation of the cordova plugin that in order to do some android remote debugging I need to put this code in the CameraActivity:

if(Build.VERSION.SDK_INT >= 19) { WebView.setWebContentsDebuggingEnabled(true); }

very well, the thing is I don't know where is this

CameraActivity thing, which file or path. Thanks for your help, regards:


1 Comment

Hi Axel,

the cordova plugin already enables remote debugging (org.apache.cordova.engine.SystemWebViewEngine#enableRemoteDebuggingso there is no need to set it in your activity. 

If you still want to set this you can do it in the activity deriving from CordovaActivity (e.g. MainActivity in our sample app).

Best regards,


Login or Signup to post a comment