vendredi 15 juillet 2016

Cordova - Android updates (freeze versions)

If need to do some updates in my cordova app after a few months or weeks, running cordova build android --release --buildConfig gives me an error and usually opening android studio and installing all the updates fixes the errors.

Why is that?

  • I didn't remove the platform
  • Last time it worked just fine
  • no update was made to my laptop, android studio or any software.

Looks like in time, the cordova code remains outdated and the build knows that.

How can I make the cordova project maintain it's own core resources and be able to build my JS and HTML without worrying if the latest android sdk does not comply with a plugin or cordova version.

Aucun commentaire:

Enregistrer un commentaire