[Solved] Android Cordova minSdk issues after updating to meteor 1.8.1

I got a meteor Android App using Cordova plugins.

When updating from meteor to 1.8.1, I don’t get the Android App compiled anymore

   uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:CordovaLib]
   ../AndroidManifest.xml as the library might be using APIs not available in
   Suggestion: use a compatible library with a minSdk of at most 16,
   or increase this project's minSdk version to at least 19,
   or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)

What I already tried:

  • App.setPreference(‘android-minSdkVersion’, ‘19’); in mobile config
  • Remove crosswalk
  • Re-add plattforms and/or crosswalk plugins
  • Direct cordova overrides
  • Playing arround with gradle versions & files

However, nothing helped. According to the meteor changelog, there should be no incompatibilities. I am the only one experiencing such issues?

Btw, meteor is still not using the newest cordova versions available. Is there a way to override?

Solved as follows:

  1. meteor remove crosswalk
  2. meteor add cordova:cordova-plugin-crosswalk-webview@2.4.0
  3. Update all cordova plugins to newest version available <- this did the trick

// edit:
My problem was related to the plugin cordova-plugin-browsertab - see https://github.com/apache/cordova-android/issues/498#issuecomment-463163321