2
votes

I just created a new app with the next command:

ionic start myapp

Everything works fine but when I try to deploy to Android (My Android studio environment is properly installed and configured), I get the next error:

Error: Failed to fetch plugin cordova-plugin-statusbar@https://github.com/apache/cordova-plugin-statusbar.git via registry.

I try to deploy with:

ionic cordova run android

Thanks in advance.

2

2 Answers

5
votes

This work for me, If the other solutions did,t work

cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git

2
votes

I found the solution. Just run this command:

cordova plugin add cordova-plugin-statusbar

Now I can deploy my app but I don't know why that plugin is not installed automatically.