Cordova not available on real device

getting cordova not available error with livereload on real device

ionic cordova run android -l

ionic info

Ionic:

Ionic CLI : 5.4.16 (C:\Users\rajmohan\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 5.0.0
@angular-devkit/build-angular : 0.900.5
@angular-devkit/schematics : 9.0.5
@angular/cli : 9.0.5
@ionic/angular-toolkit : 2.1.2

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 7 other plugins)

Utility:

cordova-res (update available: 0.10.0) : 0.9.0
native-run : 0.3.0

System:

Android SDK Tools : 26.1.1 (C:\Users\xxxx\AppData\Local\Android\Sdk)
NodeJS : v10.15.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.2
OS : Windows 10

Does this happen without Livereload too?

Similar to this

Please update to the latest angular-toolkit package, 2.2.0

It doesn’t work either, I have problems with the camera and with the files

Did you find a solution for you problem, am also having a similar issue, cordova is not available in device when building with capacitor

Hi, I have version 2.3.3 of angular-toolkit package and I keep getting the same error. In my case it is with the google-plus plugin

My ionic info:

Ionic:

Ionic CLI : 6.11.11 (C:\Users\xxxx\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.3.5
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : android 9.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)

Utility:

cordova-res : 0.15.1
native-run : not installed

System:

Android SDK Tools : 26.1.1 (C:\Users\xxxx\AppData\Local\Android\Sdk)
NodeJS : v12.18.4 (C:\Program Files\nodejs\node.exe)
npm : 6.14.6
OS : Windows 10

I had a similar problem when upgraded to Angular 11.

I need to upgrade @ionic/angular-toolkit from version 2.0.0 to version 4.0.0