Problem with IONIC versions

Asked

Viewed 153 times

1

Currently the Ionic is in version 4, but I prefer the Ionic 3 mainly to program the themes of my application.

So I did the downgrade for version Ionic 3.1.0. But I’m faced with a big problem, typing the command:

$ ionic cordova build android

(Rebound I did the steps correctly I already added the platform and everything is already installed).

However, it does not work and returns me the following:

inserir a descrição da imagem aqui

Could someone help me? But, me don’t want to upgrade to the Ionic 4

  • I did, doing a gambiarra! I programmed my application in Ionic version 3, when finished I updated Ionic and only managed the apk... It worked, but if anyone knows how to solve the problem I’ll be grateful.

  • 1

    Hello. I advise to always keep everything up to date, but start the project like this: Ionic start myapp super --type=Ionic-angular. That way you don’t have to downgrade anything, you just change the --type.

  • 1

    It may be that some plugin was not updated when you downgrade, try this site to update the plugins; https://update.ionic.zone/.

1 answer

1

Always keep your Ionic version up to date, to keep track of updates and upgrades.

To create a project in version 3 it is not necessary to downgrade its version of Ionic, just run the following command:

ionic start myapp blank --type=ionic-angular

with this flag he will create a project in version 3 of Ionic. Hugs.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.