Ionic-cli: Failed to fetch platform cordova-android@~6.2.2

Created on 27 Sep 2017  路  1Comment  路  Source: ionic-team/ionic-cli

Description:

Steps to Reproduce:

Example repo:

1.
2.
3.

Output:

My ionic info:

Other Information:

Most helpful comment

@amit-saini Please stop opening blank issues. The issue template is there for you to fill out.

The error you're getting, along with this one and this one, are extremely common Cordova issues.

Try one of these solutions:

1.

rm -rf ~/.cordova/lib/npm_cache
cordova platform add android

2.

cordova platform rm android
cordova platform add android

  1. ```
    rm -rf platforms
    rm -rf plugins
    cordova platform add android
    ````

>All comments

@amit-saini Please stop opening blank issues. The issue template is there for you to fill out.

The error you're getting, along with this one and this one, are extremely common Cordova issues.

Try one of these solutions:

1.

rm -rf ~/.cordova/lib/npm_cache
cordova platform add android

2.

cordova platform rm android
cordova platform add android

  1. ```
    rm -rf platforms
    rm -rf plugins
    cordova platform add android
    ````
Was this page helpful?
0 / 5 - 0 ratings