Hello all!
I am trying to re-add android platform within an Ionic-3 application and I cannot figure out why it fails.
ionic cordova platform add android --debug
× Running command - failed!
[ERROR] Exception: Using cordova-fetch for cordova-android@~6.2.2
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: ...
Name: ...
Activity: MainActivity
Android target: android-25
Subproject Path: CordovaLib
Android project created with cordova-android@6.2.3
**Error: Unexpected token q in JSON at position 379**
(I received the same output running with --verbose
parameter)
ionic info
:
cli packages: (F:\Alex\GoogleDrive\Projects\GitHub\NewsAggregatorMobile\node_modules)
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 2.1.3
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.6.0
System:
Android SDK Tools : 26.1.1
Node : v6.10.2
npm : 3.10.10
OS : Windows 10
Clearly, there is a messed-up JSON file, but I cannot figure which one and the error is not helpful at all.
Any way to find out which file it is about?
Thanks.