cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shashwat Tripathi (JIRA)" <>
Subject [jira] [Commented] (CB-13800) Drop pre-KitKat specific code
Date Mon, 19 Mar 2018 06:39:00 GMT


Shashwat Tripathi commented on CB-13800:

Does this mean that value of android-minSdkVersion should be 19 instead of 16 from cordova-android

<preference name="android-minSdkVersion" value="19"/>

I am getting an error since I updated to cordova-android to 7.1.0. On changing minSdk to 19
it works.

Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared
in library [:CordovaLib] /Users/shashwat/projects/bnforecast-ui/dist-phonegap-android/platforms/android/CordovaLib/build/intermediates/manifests/full/debug/AndroidManifest.xml
as the library might be using APIs not available in 16
 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)

> Drop pre-KitKat specific code
> -----------------------------
>                 Key: CB-13800
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-android
>    Affects Versions: 7.0.0
>            Reporter: Bas Bosman
>            Assignee: Bas Bosman
>            Priority: Minor
> With the release of cordova-android 7.0.0 the minimum API-Level was set to 19.
> There are a couple of places in the codebase where we have specific logic for older API-levels,
which are now no longer needed and therefore can be removed.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message