Not able to add platform with below ionic info


ionic (Ionic CLI) : 4.10.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.1
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.3.0


cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (1 plugins total)


NodeJS : v10.16.0 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS Mojave
Xcode : Xcode 10.2.1 Build version 10E1001

What are you doing? How are you trying to add the platform?

1 Like

ionic cordova platform add android
I also tried adding version 8.0.0 and 7.1.0 But no luck

Using cordova-fetch for cordova-android@^8.0.0
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms/android
Package: com.ionic.fitkannadiga
Name: Fit_Kannadiga
Activity: MainActivity
Android target: android-28
Subproject Path: CordovaLib
Subproject Path: app
Android project created with cordova-android@8.0.0
Unexpected token } in JSON at position 2695