Failed to restore plugin "cordova-plugin-statusbar" in ionic cordova platform add android

I had the same problem. Upgrading npm fixed this for me.

BUILD SUCCESSFUL

Total time: 1.73 secs
Built the following apk(s):
android-debug.apk

ionic info

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.7.1

System:

Android SDK Tools : 26.0.2
Node              : v6.11.4
npm               : 5.4.2
OS                : Windows 10

Misc:

backend : legacy


Also ran “npm update” in the app folder

1 Like