Cordoba - Android Updates (Freeze Version)

If I need to make some updates in my cordova application (HTML, JS, CSS) in a few months or weeks, running cordova build android --release --buildConfig gives me an error.

Typically, opening android studio and installing all updates fixes the bugs.

Data:

  • I did not delete the platform
  • The last time it worked was just fine
  • No update was made on my laptop, Android studio or any software.

It seems that over time, the cordova code remains outdated, and the assembly knows this and forces me to update for the assembly.

How can I get the cordova project to support its own core resources / plugins and be able to create my JS / HTML / CSS without worrying if the latest Android SDK does not match the version of the plugin or cordova?

+6
source share
1 answer

You really don't say if you use any toolkits outside of Cordoba's vanilla, so check out TACO . This will not necessarily be my first choice for Cordova toolkits, but if you want the Cordoba build tool that controls the SDK settings for you, TACO does it (unlike something like Ionic, which requires you to manage the Android SDK / iOS separately).

To install third-party dependencies for Android, run

taco install-reqs android

The above command first checks for the following dependencies and installs them if they are missing:

  • Java JDK
  • Android SDK (includes ADB and gradle as part of the installation, as well as all the necessary Android packages).

Source: http://taco.tools/docs/configure-platform.html

PhoneGap Build and IntelXDK are uninstalled for free, and they manage the SDK libraries for you and you can create iOS projects without Mac ownership (you send your HTML / JS / CSS and build file, return the APK / IPA). Telerik also has a build service, but I think you need to subscribe to it. But with all three of them, I think you need to go a whole pig and completely transfer your project to your toolboxes. TACO should be less invasive for your current project.

+6
source

All Articles