I installed cordova and create a new project.
But when I use this command to add android platform:
cordova platform add android
this error appears:
Error: Failed to fetch platform android
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: version not found: [email protected]
This is how I created the new project:
cordova create hello com.example.hello HelloWorld
And this is my SDK Manager:
But I can add ios platform (But I work on Windows)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…