Exec() call to unknown plugin: Console

I am building an ionic android app and everything was working fine until recently my console.log has refused to work. It shows me the following error

exec() call to unknown plugin: Console

and then displays the result via /cordova-plugin-console/www/console-via-logger but the problem is you cant debug correctly because you dont know which line of code has an error as all the numbers are the same.

Anyone faced this issue before and how to solve it?


Did you ever find a solution to this? I just updated cordova and the console plugin and its happening to me as well…

u have two options

  1. remove the console plugin and add it again OR
  2. And this worked for me, remove the cordova console plugin all together. because windows console log will still work and display your console log messages.