Cordova version inside my Ionic project?


#1

Hi all,

I have published new app right now. Google says “Cordova version problem, update Cordova to higher than 4.1.1”.

Using command line with

cordova -v

it says

5.1.1

But inside folder which belongs to the project ( D:\Data\APPS\electronic\platforms\android\cordova ), there is an file version and inside there is

var VERSION = “4.0.2”;

How to solve this problem?


#2

Try this command:

cordova platform update android


#3

OK, thanks to your help! A note: on Windows, this command needs to be called as administrator.

Problem solved :slight_smile: