I am getting the same error console.error: the cordova-plugin-ionic plugin is not installed. Install it for better device information for runtime errors.
when I run ionic cordova run android -lcs
So cordova should be available at that point, right?
When I run ionic cordova plugin add cordova-plugin-ionic --force
I get
Plugin "cordova-plugin-ionic" already installed on android.
Plugin "cordova-plugin-ionic" already installed on browser.
Adding cordova-plugin-ionic to package.json
Saved plugin info for "cordova-plugin-ionic" to config.xml
When I run ionic cordova plugin list
I get:
cordova-plugin-add-swift-support 1.7.0 "AddSwiftSupport"
cordova-plugin-app-preferences 0.99.3 "AppPreferences"
cordova-plugin-background-mode 0.7.2 "BackgroundMode"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-file 5.0.0 "File"
cordova-plugin-file-transfer 1.7.0 "File Transfer"
cordova-plugin-ionic 2.0.3 "IonicCordova"
cordova-plugin-media 3.0.1 "Media"
cordova-plugin-nativestorage 2.2.2 "NativeStorage"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.2 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
onesignal-cordova-plugin 2.1.0 "OneSignal Push Notifications"
My Ionic Info:
cli packages: (/Applications/MAMP/htdocs/sparkles-android/node_modules)
@ionic/cli-utils : 1.17.0
ionic (Ionic CLI) : 3.17.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.4
Cordova Platforms : android 6.3.0 browser 5.0.1
Ionic Framework : ionic-angular 3.9.2
System:
Node : v8.2.0
npm : 5.5.1
OS : macOS Sierra
Xcode : Xcode 8.3.2 Build version 8E2002
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro