Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Remove uses-sdk from plugin.xml #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pwnall
Copy link

@pwnall pwnall commented Sep 26, 2015

This fixes a MultipleUsesSdk lint error that breaks release builds.

Error: There should only be a single <uses-sdk> element in the manifest: merge these together [MultipleUsesSdk]
    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Recent Cordova versions generate a <uses-sdk> element with the min SDK set to 14 and the target SDK set to 22.

This fixes a `MultipleUsesSdk` lint error that breaks release builds.

```
Error: There should only be a single <uses-sdk> element in the manifest: merge these together [MultipleUsesSdk]
    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Recent Cordova versions generate a `<uses-sdk>` element with the min SDK set to 14 and the target SDK set to 22.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant