Okay, so you run this. And it continues to fail.
cordova platform add android --save
And the output is this.
Error: Failed to fetch platform [email protected]
After trying to reinstall cordova, node, and other packages, I have had no luck. I am running this with the ionic blank starter package with ionic Cli 3.
For some reason with the latest version of everything, ionic, angular, the cli, etc, the platform was trying to add
[email protected]
To fix this, just go to this link and get the latest version, and run this...
sudo ionic cordova platform add [email protected]
remove old android
ionic cordova platform rm android
add latest android
ionic cordova platform add android@latest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With