uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in libraryCordova Build minSdkVersion change 16 to 19Ionic cordova compile for android giving error on minSdkVersion smaller than version declaredsdk:minSdkVersion 15 cannot be different than version L declared in libraryuses-sdk:minSdkVersion 7 cannot be smaller than version 9 declared in libraryError retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library [com.google.android.gms:play-services:7.8.0]minSdkVersion 8 cannot be smaller than version 9 declared in library - post AdMobManifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in libraryManifest merger failed : uses-sdk:minSdkVersion 7 cannot be smaller than version 14 declared in libraryManifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 19 declared in library [:wikitudesdk:]minSdkVersion 9 cannot be smaller than version 14 declared in libraryManifest merger failed, minSdkVersion 1 cannot be smaller than version 4 declared in library

Why didn't Project Mercury advance to an orbital flight on their second mission?

Why aren't space telescopes put in GEO?

Why did the Dothraki not follow Jon?

Why didn't Thanos use the Time Stone to stop the Avengers' plan?

Did 20% of US soldiers in Vietnam use heroin, 95% of whom quit afterwards?

USPS Back Room - Trespassing?

Is it true that cut time means "play twice as fast as written"?

Can I tell a prospective employee that everyone in the team is leaving?

Popcorn is the only acceptable snack to consume while watching a movie

Is the field of q-series 'dead'?

Compaq Portable vs IBM 5155 Portable PC

How to patch glass cuts in a bicycle tire?

NIntegrate doesn't evaluate

What to do when you've set the wrong ISO for your film?

Where is the logic in castrating fighters?

Need to understand my home electrical meter to see why bill is so high and/or if neighbor is on same meter

Why does Mjolnir fall down in Age of Ultron but not in Endgame?

In general, would I need to season a meat when making a sauce?

Is it rude to call a professor by their last name with no prefix in a non-academic setting?

How to deal with a colleague who is being aggressive?

Employer asking for online access to bank account - Is this a scam?

Count Even Digits In Number

Using credit/debit card details vs swiping a card in a payment (credit card) terminal

How to respond to an upset student?



uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library


Cordova Build minSdkVersion change 16 to 19Ionic cordova compile for android giving error on minSdkVersion smaller than version declaredsdk:minSdkVersion 15 cannot be different than version L declared in libraryuses-sdk:minSdkVersion 7 cannot be smaller than version 9 declared in libraryError retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library [com.google.android.gms:play-services:7.8.0]minSdkVersion 8 cannot be smaller than version 9 declared in library - post AdMobManifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in libraryManifest merger failed : uses-sdk:minSdkVersion 7 cannot be smaller than version 14 declared in libraryManifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 19 declared in library [:wikitudesdk:]minSdkVersion 9 cannot be smaller than version 14 declared in libraryManifest merger failed, minSdkVersion 1 cannot be smaller than version 4 declared in library






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








13















I don't understand this error message



 C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidAndroidManifest.xml:67:5 Error:
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidbuildintermediatesexploded-aarcom.paypal.sdkpaypal-android-sdk2.14.2AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.paypal.android.sdk.payments" to force usage


Because line 67 of AndroidManifest.xml looks like:



<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="22" />


Where does 15 come from?



I use ionic to build my app. But I don't think that this is the problem.










share|improve this question
























  • minSdkVersion __ targetSdkVersion __ and compileSdkVersion __ in Build.gradle(Module: app)

    – Vishwesh Jainkuniya
    May 18 '16 at 7:42











  • Do you use external libraries?

    – Yoann Hercouet
    May 18 '16 at 8:07











  • @YoannHercouet I just use the ionic framework. I don't know if they use external libraries. Maybe the ionic plugins are external libraries. The error occurs because the paypal plugin expect a minimum sdk version of 16

    – Simon Schüpbach
    May 18 '16 at 8:10

















13















I don't understand this error message



 C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidAndroidManifest.xml:67:5 Error:
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidbuildintermediatesexploded-aarcom.paypal.sdkpaypal-android-sdk2.14.2AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.paypal.android.sdk.payments" to force usage


Because line 67 of AndroidManifest.xml looks like:



<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="22" />


Where does 15 come from?



I use ionic to build my app. But I don't think that this is the problem.










share|improve this question
























  • minSdkVersion __ targetSdkVersion __ and compileSdkVersion __ in Build.gradle(Module: app)

    – Vishwesh Jainkuniya
    May 18 '16 at 7:42











  • Do you use external libraries?

    – Yoann Hercouet
    May 18 '16 at 8:07











  • @YoannHercouet I just use the ionic framework. I don't know if they use external libraries. Maybe the ionic plugins are external libraries. The error occurs because the paypal plugin expect a minimum sdk version of 16

    – Simon Schüpbach
    May 18 '16 at 8:10













13












13








13


1






I don't understand this error message



 C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidAndroidManifest.xml:67:5 Error:
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidbuildintermediatesexploded-aarcom.paypal.sdkpaypal-android-sdk2.14.2AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.paypal.android.sdk.payments" to force usage


Because line 67 of AndroidManifest.xml looks like:



<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="22" />


Where does 15 come from?



I use ionic to build my app. But I don't think that this is the problem.










share|improve this question
















I don't understand this error message



 C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidAndroidManifest.xml:67:5 Error:
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library C:Program Files (x86)Jenkinsworkspace__temp-mobile-prevplatformsandroidbuildintermediatesexploded-aarcom.paypal.sdkpaypal-android-sdk2.14.2AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.paypal.android.sdk.payments" to force usage


Because line 67 of AndroidManifest.xml looks like:



<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="22" />


Where does 15 come from?



I use ionic to build my app. But I don't think that this is the problem.







android build ionic-framework






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 18 '16 at 11:50







Simon Schüpbach

















asked May 18 '16 at 7:36









Simon SchüpbachSimon Schüpbach

1,8792624




1,8792624












  • minSdkVersion __ targetSdkVersion __ and compileSdkVersion __ in Build.gradle(Module: app)

    – Vishwesh Jainkuniya
    May 18 '16 at 7:42











  • Do you use external libraries?

    – Yoann Hercouet
    May 18 '16 at 8:07











  • @YoannHercouet I just use the ionic framework. I don't know if they use external libraries. Maybe the ionic plugins are external libraries. The error occurs because the paypal plugin expect a minimum sdk version of 16

    – Simon Schüpbach
    May 18 '16 at 8:10

















  • minSdkVersion __ targetSdkVersion __ and compileSdkVersion __ in Build.gradle(Module: app)

    – Vishwesh Jainkuniya
    May 18 '16 at 7:42











  • Do you use external libraries?

    – Yoann Hercouet
    May 18 '16 at 8:07











  • @YoannHercouet I just use the ionic framework. I don't know if they use external libraries. Maybe the ionic plugins are external libraries. The error occurs because the paypal plugin expect a minimum sdk version of 16

    – Simon Schüpbach
    May 18 '16 at 8:10
















minSdkVersion __ targetSdkVersion __ and compileSdkVersion __ in Build.gradle(Module: app)

– Vishwesh Jainkuniya
May 18 '16 at 7:42





minSdkVersion __ targetSdkVersion __ and compileSdkVersion __ in Build.gradle(Module: app)

– Vishwesh Jainkuniya
May 18 '16 at 7:42













Do you use external libraries?

– Yoann Hercouet
May 18 '16 at 8:07





Do you use external libraries?

– Yoann Hercouet
May 18 '16 at 8:07













@YoannHercouet I just use the ionic framework. I don't know if they use external libraries. Maybe the ionic plugins are external libraries. The error occurs because the paypal plugin expect a minimum sdk version of 16

– Simon Schüpbach
May 18 '16 at 8:10





@YoannHercouet I just use the ionic framework. I don't know if they use external libraries. Maybe the ionic plugins are external libraries. The error occurs because the paypal plugin expect a minimum sdk version of 16

– Simon Schüpbach
May 18 '16 at 8:10












11 Answers
11






active

oldest

votes


















18














Maybe I found the problem.



I don't want to overwride the build.gradle, because cordova create this file dynamically. But I searched why that cdvMinSdkVersion returns a wrong value. And the reason was this barcodescanner-plugin. The plugin gradle file has this line



ext.cdvMinSdkVersion = 15


which overwrite my value from AndroidManifest.xml. After I have remove and add the plugin again it works.
But I don't know why? Maybe someone could explain the order of the different gradle scripts.






share|improve this answer























  • You sir, deserve a beer!!

    – Aswin Ramakrishnan
    Sep 15 '16 at 2:40











  • This solved my problem, great job!

    – JoeriShoeby
    Oct 4 '16 at 8:50











  • Make it 3 beers. I can confirm this fix to work. I'm working on Cordova 6.2.0, and it did the trick!

    – tfrascaroli
    Jan 12 '17 at 13:50






  • 1





    And another beer ;) Thx

    – Thomas
    Feb 13 '17 at 8:09






  • 1





    I don't exactly understand what you are saying but I did a grep on that line of code and it was within a Mapbox plugin which I removed and then the build was successful .. Crazy stuff but another beer from here

    – Peter Scott
    Feb 15 '17 at 17:11


















7














As of release 2.14.0, the minSdkVersion has been increased to 16. If you prefer to have your app on a lower minSdkVersion and want to leverage the latest SDK, please disable PayPal for versions below API 16, add xmlns:tools="http://schemas.android.com/tools inside the manifest's xml declaration, and add the following snippet to your AndroidManifest.xml:



<uses-sdk android:minSdkVersion="INSERT_YOUR_DESIRED_minSdkVersion_HERE" tools:overrideLibrary="com.paypal.android.sdk.payments"/>





share|improve this answer






























    4














    In case of Hybrid/Ionic app such issue could get fixed by changing minSdkVersion in config.xml is what I did.






    share|improve this answer






























      4














      The problem for me was in cordova-plugin-browsertab.



      You need to change line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to



      def minSdkVersion = 19


      Make sure you have the minimum SDK added to your config.xml



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


      Then remove and add cordova-android by:



      cordova platform remove android
      cordova platform add android





      share|improve this answer























      • It's the same place which cause error in my project. But define <preference name="android-minSdkVersion" value="19" /> in config.xml doesn't help. I have modify the line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to: def minSdkVersion = 19 and then reinstall android platform.

        – D C
        Mar 22 at 8:57


















      2














      Here are some context to understand the things:



      By default, when importing a library with a minSdkVersion value that's higher than the main manifest file, an error occurs and the library cannot be imported. To make the merger tool ignore this conflict and import the library while keeping your app's lower minSdkVersion value, add the overrideLibrary attribute to the tag. The attribute value can be one or more library package names (comma-separated), indicating the libraries that can override the main manifest's minSdkVersion.



      For example, if your app's main manifest applies overrideLibrary like this:



      <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.app"
      xmlns:tools="http://schemas.android.com/tools">
      <uses-sdk android:targetSdkVersion="22" android:minSdkVersion="2"
      tools:overrideLibrary="com.example.lib1, com.example.lib2"/>


      Then the following manifest can be merged without an error regarding the <uses-sdk> tag, and the merged manifest keeps minSdkVersion="2" from the app manifest.



      <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.lib1">
      <uses-sdk android:minSdkVersion="4" />





      share|improve this answer






























        2














        This solved my problem.
        Right click on app folder in android studio, select 'open module settings' | or just press F4. Go to Flavors Tab and change Min Sdk Version to the latest.
        Problem Solved.






        share|improve this answer























        • This solved my problem as well.

          – anthony stoico
          Sep 6 '18 at 15:26


















        0














        I use @Naga suggestion, and it's work.

        config.xml that I change is not in the root of project, but in
        platforms/android/app/src/main/res/xml/config.xml



        and minSdkVersion in AndroidManifests.xml are not overwritten again






        share|improve this answer























        • When I generate app using cordova build android it automatically overrides the value.

          – Santosh
          Sep 19 '18 at 20:43


















        0














        work like a charm:



        <?xml version="1.0" encoding="utf-8"?>
        <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.example.aspireone.myapplication"
        xmlns:tools="http://schemas.android.com/tools">

        <uses-sdk android:targetSdkVersion="28" android:minSdkVersion="14"
        tools:overrideLibrary="com.allyants.draggabletreeview"/>


        from this error message:



         <!-- Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.github.jakebonk:DraggableTreeView:1.0.1] C:UsersASPIREone.gradlecachestransforms-1files-1.1DraggableTreeView-1.0.1.aar45f4095d2e68f3e9a1fbc4b73c7f9c33AndroidManifest.xml as the library might be using APIs not available in 14
        Suggestion: use a compatible library with a minSdk of at most 14,
        or increase this project's minSdk version to at least 15,
        or use tools:overrideLibrary="com.allyants.draggabletreeview" to force usage (may lead to runtime failures) -->





        share|improve this answer






























          0














          Try this instead.
          Change minSdkVersion 15 to minSdkVersion 16 in build.gradle(module: app)






          share|improve this answer






























            0














            The way I fixed it was to go to platformsandroid folder and did a find-in-folder from my VS code editor for minSdkVersion and replaced all minSdkVersion=16 to minSdkVersion=19 regardless of whether cordova generated it dynamically or not. Everything worked fine for me after that.






            share|improve this answer






























              -1














              Please Follow these three steps to solve this error in ionic 3



              1) projectfolder/platforms/android/CordovaLib/AndroidManifest.xml



              <uses-sdk android:minSdkVersion="16" /> change this to



              <uses-sdk android:minSdkVersion="19" />



              2) projectfolder/platforms/android/gradle.properties



              cdvMinSdkVersion=16 or X change to



              cdvMinSdkVersion=19



              3) projectfolder/config.xml



              <preference name="android-minSdkVersion" value="16" /> change to



              `






              share|improve this answer

























                Your Answer






                StackExchange.ifUsing("editor", function ()
                StackExchange.using("externalEditor", function ()
                StackExchange.using("snippets", function ()
                StackExchange.snippets.init();
                );
                );
                , "code-snippets");

                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "1"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader:
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                ,
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                draft saved

                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37293082%2fuses-sdkminsdkversion-15-cannot-be-smaller-than-version-16-declared-in-library%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                11 Answers
                11






                active

                oldest

                votes








                11 Answers
                11






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                18














                Maybe I found the problem.



                I don't want to overwride the build.gradle, because cordova create this file dynamically. But I searched why that cdvMinSdkVersion returns a wrong value. And the reason was this barcodescanner-plugin. The plugin gradle file has this line



                ext.cdvMinSdkVersion = 15


                which overwrite my value from AndroidManifest.xml. After I have remove and add the plugin again it works.
                But I don't know why? Maybe someone could explain the order of the different gradle scripts.






                share|improve this answer























                • You sir, deserve a beer!!

                  – Aswin Ramakrishnan
                  Sep 15 '16 at 2:40











                • This solved my problem, great job!

                  – JoeriShoeby
                  Oct 4 '16 at 8:50











                • Make it 3 beers. I can confirm this fix to work. I'm working on Cordova 6.2.0, and it did the trick!

                  – tfrascaroli
                  Jan 12 '17 at 13:50






                • 1





                  And another beer ;) Thx

                  – Thomas
                  Feb 13 '17 at 8:09






                • 1





                  I don't exactly understand what you are saying but I did a grep on that line of code and it was within a Mapbox plugin which I removed and then the build was successful .. Crazy stuff but another beer from here

                  – Peter Scott
                  Feb 15 '17 at 17:11















                18














                Maybe I found the problem.



                I don't want to overwride the build.gradle, because cordova create this file dynamically. But I searched why that cdvMinSdkVersion returns a wrong value. And the reason was this barcodescanner-plugin. The plugin gradle file has this line



                ext.cdvMinSdkVersion = 15


                which overwrite my value from AndroidManifest.xml. After I have remove and add the plugin again it works.
                But I don't know why? Maybe someone could explain the order of the different gradle scripts.






                share|improve this answer























                • You sir, deserve a beer!!

                  – Aswin Ramakrishnan
                  Sep 15 '16 at 2:40











                • This solved my problem, great job!

                  – JoeriShoeby
                  Oct 4 '16 at 8:50











                • Make it 3 beers. I can confirm this fix to work. I'm working on Cordova 6.2.0, and it did the trick!

                  – tfrascaroli
                  Jan 12 '17 at 13:50






                • 1





                  And another beer ;) Thx

                  – Thomas
                  Feb 13 '17 at 8:09






                • 1





                  I don't exactly understand what you are saying but I did a grep on that line of code and it was within a Mapbox plugin which I removed and then the build was successful .. Crazy stuff but another beer from here

                  – Peter Scott
                  Feb 15 '17 at 17:11













                18












                18








                18







                Maybe I found the problem.



                I don't want to overwride the build.gradle, because cordova create this file dynamically. But I searched why that cdvMinSdkVersion returns a wrong value. And the reason was this barcodescanner-plugin. The plugin gradle file has this line



                ext.cdvMinSdkVersion = 15


                which overwrite my value from AndroidManifest.xml. After I have remove and add the plugin again it works.
                But I don't know why? Maybe someone could explain the order of the different gradle scripts.






                share|improve this answer













                Maybe I found the problem.



                I don't want to overwride the build.gradle, because cordova create this file dynamically. But I searched why that cdvMinSdkVersion returns a wrong value. And the reason was this barcodescanner-plugin. The plugin gradle file has this line



                ext.cdvMinSdkVersion = 15


                which overwrite my value from AndroidManifest.xml. After I have remove and add the plugin again it works.
                But I don't know why? Maybe someone could explain the order of the different gradle scripts.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 19 '16 at 6:22









                Simon SchüpbachSimon Schüpbach

                1,8792624




                1,8792624












                • You sir, deserve a beer!!

                  – Aswin Ramakrishnan
                  Sep 15 '16 at 2:40











                • This solved my problem, great job!

                  – JoeriShoeby
                  Oct 4 '16 at 8:50











                • Make it 3 beers. I can confirm this fix to work. I'm working on Cordova 6.2.0, and it did the trick!

                  – tfrascaroli
                  Jan 12 '17 at 13:50






                • 1





                  And another beer ;) Thx

                  – Thomas
                  Feb 13 '17 at 8:09






                • 1





                  I don't exactly understand what you are saying but I did a grep on that line of code and it was within a Mapbox plugin which I removed and then the build was successful .. Crazy stuff but another beer from here

                  – Peter Scott
                  Feb 15 '17 at 17:11

















                • You sir, deserve a beer!!

                  – Aswin Ramakrishnan
                  Sep 15 '16 at 2:40











                • This solved my problem, great job!

                  – JoeriShoeby
                  Oct 4 '16 at 8:50











                • Make it 3 beers. I can confirm this fix to work. I'm working on Cordova 6.2.0, and it did the trick!

                  – tfrascaroli
                  Jan 12 '17 at 13:50






                • 1





                  And another beer ;) Thx

                  – Thomas
                  Feb 13 '17 at 8:09






                • 1





                  I don't exactly understand what you are saying but I did a grep on that line of code and it was within a Mapbox plugin which I removed and then the build was successful .. Crazy stuff but another beer from here

                  – Peter Scott
                  Feb 15 '17 at 17:11
















                You sir, deserve a beer!!

                – Aswin Ramakrishnan
                Sep 15 '16 at 2:40





                You sir, deserve a beer!!

                – Aswin Ramakrishnan
                Sep 15 '16 at 2:40













                This solved my problem, great job!

                – JoeriShoeby
                Oct 4 '16 at 8:50





                This solved my problem, great job!

                – JoeriShoeby
                Oct 4 '16 at 8:50













                Make it 3 beers. I can confirm this fix to work. I'm working on Cordova 6.2.0, and it did the trick!

                – tfrascaroli
                Jan 12 '17 at 13:50





                Make it 3 beers. I can confirm this fix to work. I'm working on Cordova 6.2.0, and it did the trick!

                – tfrascaroli
                Jan 12 '17 at 13:50




                1




                1





                And another beer ;) Thx

                – Thomas
                Feb 13 '17 at 8:09





                And another beer ;) Thx

                – Thomas
                Feb 13 '17 at 8:09




                1




                1





                I don't exactly understand what you are saying but I did a grep on that line of code and it was within a Mapbox plugin which I removed and then the build was successful .. Crazy stuff but another beer from here

                – Peter Scott
                Feb 15 '17 at 17:11





                I don't exactly understand what you are saying but I did a grep on that line of code and it was within a Mapbox plugin which I removed and then the build was successful .. Crazy stuff but another beer from here

                – Peter Scott
                Feb 15 '17 at 17:11













                7














                As of release 2.14.0, the minSdkVersion has been increased to 16. If you prefer to have your app on a lower minSdkVersion and want to leverage the latest SDK, please disable PayPal for versions below API 16, add xmlns:tools="http://schemas.android.com/tools inside the manifest's xml declaration, and add the following snippet to your AndroidManifest.xml:



                <uses-sdk android:minSdkVersion="INSERT_YOUR_DESIRED_minSdkVersion_HERE" tools:overrideLibrary="com.paypal.android.sdk.payments"/>





                share|improve this answer



























                  7














                  As of release 2.14.0, the minSdkVersion has been increased to 16. If you prefer to have your app on a lower minSdkVersion and want to leverage the latest SDK, please disable PayPal for versions below API 16, add xmlns:tools="http://schemas.android.com/tools inside the manifest's xml declaration, and add the following snippet to your AndroidManifest.xml:



                  <uses-sdk android:minSdkVersion="INSERT_YOUR_DESIRED_minSdkVersion_HERE" tools:overrideLibrary="com.paypal.android.sdk.payments"/>





                  share|improve this answer

























                    7












                    7








                    7







                    As of release 2.14.0, the minSdkVersion has been increased to 16. If you prefer to have your app on a lower minSdkVersion and want to leverage the latest SDK, please disable PayPal for versions below API 16, add xmlns:tools="http://schemas.android.com/tools inside the manifest's xml declaration, and add the following snippet to your AndroidManifest.xml:



                    <uses-sdk android:minSdkVersion="INSERT_YOUR_DESIRED_minSdkVersion_HERE" tools:overrideLibrary="com.paypal.android.sdk.payments"/>





                    share|improve this answer













                    As of release 2.14.0, the minSdkVersion has been increased to 16. If you prefer to have your app on a lower minSdkVersion and want to leverage the latest SDK, please disable PayPal for versions below API 16, add xmlns:tools="http://schemas.android.com/tools inside the manifest's xml declaration, and add the following snippet to your AndroidManifest.xml:



                    <uses-sdk android:minSdkVersion="INSERT_YOUR_DESIRED_minSdkVersion_HERE" tools:overrideLibrary="com.paypal.android.sdk.payments"/>






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 2 '16 at 16:02







                    user6738679




























                        4














                        In case of Hybrid/Ionic app such issue could get fixed by changing minSdkVersion in config.xml is what I did.






                        share|improve this answer



























                          4














                          In case of Hybrid/Ionic app such issue could get fixed by changing minSdkVersion in config.xml is what I did.






                          share|improve this answer

























                            4












                            4








                            4







                            In case of Hybrid/Ionic app such issue could get fixed by changing minSdkVersion in config.xml is what I did.






                            share|improve this answer













                            In case of Hybrid/Ionic app such issue could get fixed by changing minSdkVersion in config.xml is what I did.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Mar 27 '18 at 7:41









                            NagaNaga

                            98411225




                            98411225





















                                4














                                The problem for me was in cordova-plugin-browsertab.



                                You need to change line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to



                                def minSdkVersion = 19


                                Make sure you have the minimum SDK added to your config.xml



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


                                Then remove and add cordova-android by:



                                cordova platform remove android
                                cordova platform add android





                                share|improve this answer























                                • It's the same place which cause error in my project. But define <preference name="android-minSdkVersion" value="19" /> in config.xml doesn't help. I have modify the line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to: def minSdkVersion = 19 and then reinstall android platform.

                                  – D C
                                  Mar 22 at 8:57















                                4














                                The problem for me was in cordova-plugin-browsertab.



                                You need to change line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to



                                def minSdkVersion = 19


                                Make sure you have the minimum SDK added to your config.xml



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


                                Then remove and add cordova-android by:



                                cordova platform remove android
                                cordova platform add android





                                share|improve this answer























                                • It's the same place which cause error in my project. But define <preference name="android-minSdkVersion" value="19" /> in config.xml doesn't help. I have modify the line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to: def minSdkVersion = 19 and then reinstall android platform.

                                  – D C
                                  Mar 22 at 8:57













                                4












                                4








                                4







                                The problem for me was in cordova-plugin-browsertab.



                                You need to change line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to



                                def minSdkVersion = 19


                                Make sure you have the minimum SDK added to your config.xml



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


                                Then remove and add cordova-android by:



                                cordova platform remove android
                                cordova platform add android





                                share|improve this answer













                                The problem for me was in cordova-plugin-browsertab.



                                You need to change line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to



                                def minSdkVersion = 19


                                Make sure you have the minimum SDK added to your config.xml



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


                                Then remove and add cordova-android by:



                                cordova platform remove android
                                cordova platform add android






                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Feb 13 at 11:10









                                Chris UnderdownChris Underdown

                                27124




                                27124












                                • It's the same place which cause error in my project. But define <preference name="android-minSdkVersion" value="19" /> in config.xml doesn't help. I have modify the line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to: def minSdkVersion = 19 and then reinstall android platform.

                                  – D C
                                  Mar 22 at 8:57

















                                • It's the same place which cause error in my project. But define <preference name="android-minSdkVersion" value="19" /> in config.xml doesn't help. I have modify the line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to: def minSdkVersion = 19 and then reinstall android platform.

                                  – D C
                                  Mar 22 at 8:57
















                                It's the same place which cause error in my project. But define <preference name="android-minSdkVersion" value="19" /> in config.xml doesn't help. I have modify the line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to: def minSdkVersion = 19 and then reinstall android platform.

                                – D C
                                Mar 22 at 8:57





                                It's the same place which cause error in my project. But define <preference name="android-minSdkVersion" value="19" /> in config.xml doesn't help. I have modify the line 1 of my_project/plugins/cordova-plugin-browsertab/src/android/BrowserTab.gradle to: def minSdkVersion = 19 and then reinstall android platform.

                                – D C
                                Mar 22 at 8:57











                                2














                                Here are some context to understand the things:



                                By default, when importing a library with a minSdkVersion value that's higher than the main manifest file, an error occurs and the library cannot be imported. To make the merger tool ignore this conflict and import the library while keeping your app's lower minSdkVersion value, add the overrideLibrary attribute to the tag. The attribute value can be one or more library package names (comma-separated), indicating the libraries that can override the main manifest's minSdkVersion.



                                For example, if your app's main manifest applies overrideLibrary like this:



                                <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                package="com.example.app"
                                xmlns:tools="http://schemas.android.com/tools">
                                <uses-sdk android:targetSdkVersion="22" android:minSdkVersion="2"
                                tools:overrideLibrary="com.example.lib1, com.example.lib2"/>


                                Then the following manifest can be merged without an error regarding the <uses-sdk> tag, and the merged manifest keeps minSdkVersion="2" from the app manifest.



                                <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                package="com.example.lib1">
                                <uses-sdk android:minSdkVersion="4" />





                                share|improve this answer



























                                  2














                                  Here are some context to understand the things:



                                  By default, when importing a library with a minSdkVersion value that's higher than the main manifest file, an error occurs and the library cannot be imported. To make the merger tool ignore this conflict and import the library while keeping your app's lower minSdkVersion value, add the overrideLibrary attribute to the tag. The attribute value can be one or more library package names (comma-separated), indicating the libraries that can override the main manifest's minSdkVersion.



                                  For example, if your app's main manifest applies overrideLibrary like this:



                                  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                  package="com.example.app"
                                  xmlns:tools="http://schemas.android.com/tools">
                                  <uses-sdk android:targetSdkVersion="22" android:minSdkVersion="2"
                                  tools:overrideLibrary="com.example.lib1, com.example.lib2"/>


                                  Then the following manifest can be merged without an error regarding the <uses-sdk> tag, and the merged manifest keeps minSdkVersion="2" from the app manifest.



                                  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                  package="com.example.lib1">
                                  <uses-sdk android:minSdkVersion="4" />





                                  share|improve this answer

























                                    2












                                    2








                                    2







                                    Here are some context to understand the things:



                                    By default, when importing a library with a minSdkVersion value that's higher than the main manifest file, an error occurs and the library cannot be imported. To make the merger tool ignore this conflict and import the library while keeping your app's lower minSdkVersion value, add the overrideLibrary attribute to the tag. The attribute value can be one or more library package names (comma-separated), indicating the libraries that can override the main manifest's minSdkVersion.



                                    For example, if your app's main manifest applies overrideLibrary like this:



                                    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                    package="com.example.app"
                                    xmlns:tools="http://schemas.android.com/tools">
                                    <uses-sdk android:targetSdkVersion="22" android:minSdkVersion="2"
                                    tools:overrideLibrary="com.example.lib1, com.example.lib2"/>


                                    Then the following manifest can be merged without an error regarding the <uses-sdk> tag, and the merged manifest keeps minSdkVersion="2" from the app manifest.



                                    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                    package="com.example.lib1">
                                    <uses-sdk android:minSdkVersion="4" />





                                    share|improve this answer













                                    Here are some context to understand the things:



                                    By default, when importing a library with a minSdkVersion value that's higher than the main manifest file, an error occurs and the library cannot be imported. To make the merger tool ignore this conflict and import the library while keeping your app's lower minSdkVersion value, add the overrideLibrary attribute to the tag. The attribute value can be one or more library package names (comma-separated), indicating the libraries that can override the main manifest's minSdkVersion.



                                    For example, if your app's main manifest applies overrideLibrary like this:



                                    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                    package="com.example.app"
                                    xmlns:tools="http://schemas.android.com/tools">
                                    <uses-sdk android:targetSdkVersion="22" android:minSdkVersion="2"
                                    tools:overrideLibrary="com.example.lib1, com.example.lib2"/>


                                    Then the following manifest can be merged without an error regarding the <uses-sdk> tag, and the merged manifest keeps minSdkVersion="2" from the app manifest.



                                    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                    package="com.example.lib1">
                                    <uses-sdk android:minSdkVersion="4" />






                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Jan 17 '18 at 10:40









                                    0xAliHn0xAliHn

                                    8,731125077




                                    8,731125077





















                                        2














                                        This solved my problem.
                                        Right click on app folder in android studio, select 'open module settings' | or just press F4. Go to Flavors Tab and change Min Sdk Version to the latest.
                                        Problem Solved.






                                        share|improve this answer























                                        • This solved my problem as well.

                                          – anthony stoico
                                          Sep 6 '18 at 15:26















                                        2














                                        This solved my problem.
                                        Right click on app folder in android studio, select 'open module settings' | or just press F4. Go to Flavors Tab and change Min Sdk Version to the latest.
                                        Problem Solved.






                                        share|improve this answer























                                        • This solved my problem as well.

                                          – anthony stoico
                                          Sep 6 '18 at 15:26













                                        2












                                        2








                                        2







                                        This solved my problem.
                                        Right click on app folder in android studio, select 'open module settings' | or just press F4. Go to Flavors Tab and change Min Sdk Version to the latest.
                                        Problem Solved.






                                        share|improve this answer













                                        This solved my problem.
                                        Right click on app folder in android studio, select 'open module settings' | or just press F4. Go to Flavors Tab and change Min Sdk Version to the latest.
                                        Problem Solved.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jul 4 '18 at 14:12









                                        The Online ExplorerThe Online Explorer

                                        213




                                        213












                                        • This solved my problem as well.

                                          – anthony stoico
                                          Sep 6 '18 at 15:26

















                                        • This solved my problem as well.

                                          – anthony stoico
                                          Sep 6 '18 at 15:26
















                                        This solved my problem as well.

                                        – anthony stoico
                                        Sep 6 '18 at 15:26





                                        This solved my problem as well.

                                        – anthony stoico
                                        Sep 6 '18 at 15:26











                                        0














                                        I use @Naga suggestion, and it's work.

                                        config.xml that I change is not in the root of project, but in
                                        platforms/android/app/src/main/res/xml/config.xml



                                        and minSdkVersion in AndroidManifests.xml are not overwritten again






                                        share|improve this answer























                                        • When I generate app using cordova build android it automatically overrides the value.

                                          – Santosh
                                          Sep 19 '18 at 20:43















                                        0














                                        I use @Naga suggestion, and it's work.

                                        config.xml that I change is not in the root of project, but in
                                        platforms/android/app/src/main/res/xml/config.xml



                                        and minSdkVersion in AndroidManifests.xml are not overwritten again






                                        share|improve this answer























                                        • When I generate app using cordova build android it automatically overrides the value.

                                          – Santosh
                                          Sep 19 '18 at 20:43













                                        0












                                        0








                                        0







                                        I use @Naga suggestion, and it's work.

                                        config.xml that I change is not in the root of project, but in
                                        platforms/android/app/src/main/res/xml/config.xml



                                        and minSdkVersion in AndroidManifests.xml are not overwritten again






                                        share|improve this answer













                                        I use @Naga suggestion, and it's work.

                                        config.xml that I change is not in the root of project, but in
                                        platforms/android/app/src/main/res/xml/config.xml



                                        and minSdkVersion in AndroidManifests.xml are not overwritten again







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jul 30 '18 at 3:48









                                        Imam SutonoImam Sutono

                                        1




                                        1












                                        • When I generate app using cordova build android it automatically overrides the value.

                                          – Santosh
                                          Sep 19 '18 at 20:43

















                                        • When I generate app using cordova build android it automatically overrides the value.

                                          – Santosh
                                          Sep 19 '18 at 20:43
















                                        When I generate app using cordova build android it automatically overrides the value.

                                        – Santosh
                                        Sep 19 '18 at 20:43





                                        When I generate app using cordova build android it automatically overrides the value.

                                        – Santosh
                                        Sep 19 '18 at 20:43











                                        0














                                        work like a charm:



                                        <?xml version="1.0" encoding="utf-8"?>
                                        <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                        package="com.example.aspireone.myapplication"
                                        xmlns:tools="http://schemas.android.com/tools">

                                        <uses-sdk android:targetSdkVersion="28" android:minSdkVersion="14"
                                        tools:overrideLibrary="com.allyants.draggabletreeview"/>


                                        from this error message:



                                         <!-- Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.github.jakebonk:DraggableTreeView:1.0.1] C:UsersASPIREone.gradlecachestransforms-1files-1.1DraggableTreeView-1.0.1.aar45f4095d2e68f3e9a1fbc4b73c7f9c33AndroidManifest.xml as the library might be using APIs not available in 14
                                        Suggestion: use a compatible library with a minSdk of at most 14,
                                        or increase this project's minSdk version to at least 15,
                                        or use tools:overrideLibrary="com.allyants.draggabletreeview" to force usage (may lead to runtime failures) -->





                                        share|improve this answer



























                                          0














                                          work like a charm:



                                          <?xml version="1.0" encoding="utf-8"?>
                                          <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                          package="com.example.aspireone.myapplication"
                                          xmlns:tools="http://schemas.android.com/tools">

                                          <uses-sdk android:targetSdkVersion="28" android:minSdkVersion="14"
                                          tools:overrideLibrary="com.allyants.draggabletreeview"/>


                                          from this error message:



                                           <!-- Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.github.jakebonk:DraggableTreeView:1.0.1] C:UsersASPIREone.gradlecachestransforms-1files-1.1DraggableTreeView-1.0.1.aar45f4095d2e68f3e9a1fbc4b73c7f9c33AndroidManifest.xml as the library might be using APIs not available in 14
                                          Suggestion: use a compatible library with a minSdk of at most 14,
                                          or increase this project's minSdk version to at least 15,
                                          or use tools:overrideLibrary="com.allyants.draggabletreeview" to force usage (may lead to runtime failures) -->





                                          share|improve this answer

























                                            0












                                            0








                                            0







                                            work like a charm:



                                            <?xml version="1.0" encoding="utf-8"?>
                                            <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                            package="com.example.aspireone.myapplication"
                                            xmlns:tools="http://schemas.android.com/tools">

                                            <uses-sdk android:targetSdkVersion="28" android:minSdkVersion="14"
                                            tools:overrideLibrary="com.allyants.draggabletreeview"/>


                                            from this error message:



                                             <!-- Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.github.jakebonk:DraggableTreeView:1.0.1] C:UsersASPIREone.gradlecachestransforms-1files-1.1DraggableTreeView-1.0.1.aar45f4095d2e68f3e9a1fbc4b73c7f9c33AndroidManifest.xml as the library might be using APIs not available in 14
                                            Suggestion: use a compatible library with a minSdk of at most 14,
                                            or increase this project's minSdk version to at least 15,
                                            or use tools:overrideLibrary="com.allyants.draggabletreeview" to force usage (may lead to runtime failures) -->





                                            share|improve this answer













                                            work like a charm:



                                            <?xml version="1.0" encoding="utf-8"?>
                                            <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                                            package="com.example.aspireone.myapplication"
                                            xmlns:tools="http://schemas.android.com/tools">

                                            <uses-sdk android:targetSdkVersion="28" android:minSdkVersion="14"
                                            tools:overrideLibrary="com.allyants.draggabletreeview"/>


                                            from this error message:



                                             <!-- Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [com.github.jakebonk:DraggableTreeView:1.0.1] C:UsersASPIREone.gradlecachestransforms-1files-1.1DraggableTreeView-1.0.1.aar45f4095d2e68f3e9a1fbc4b73c7f9c33AndroidManifest.xml as the library might be using APIs not available in 14
                                            Suggestion: use a compatible library with a minSdk of at most 14,
                                            or increase this project's minSdk version to at least 15,
                                            or use tools:overrideLibrary="com.allyants.draggabletreeview" to force usage (may lead to runtime failures) -->






                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Mar 24 at 3:26









                                            Bill GatesBill Gates

                                            2810




                                            2810





















                                                0














                                                Try this instead.
                                                Change minSdkVersion 15 to minSdkVersion 16 in build.gradle(module: app)






                                                share|improve this answer



























                                                  0














                                                  Try this instead.
                                                  Change minSdkVersion 15 to minSdkVersion 16 in build.gradle(module: app)






                                                  share|improve this answer

























                                                    0












                                                    0








                                                    0







                                                    Try this instead.
                                                    Change minSdkVersion 15 to minSdkVersion 16 in build.gradle(module: app)






                                                    share|improve this answer













                                                    Try this instead.
                                                    Change minSdkVersion 15 to minSdkVersion 16 in build.gradle(module: app)







                                                    share|improve this answer












                                                    share|improve this answer



                                                    share|improve this answer










                                                    answered Apr 23 at 7:02









                                                    Md. Rejaul KarimMd. Rejaul Karim

                                                    1




                                                    1





















                                                        0














                                                        The way I fixed it was to go to platformsandroid folder and did a find-in-folder from my VS code editor for minSdkVersion and replaced all minSdkVersion=16 to minSdkVersion=19 regardless of whether cordova generated it dynamically or not. Everything worked fine for me after that.






                                                        share|improve this answer



























                                                          0














                                                          The way I fixed it was to go to platformsandroid folder and did a find-in-folder from my VS code editor for minSdkVersion and replaced all minSdkVersion=16 to minSdkVersion=19 regardless of whether cordova generated it dynamically or not. Everything worked fine for me after that.






                                                          share|improve this answer

























                                                            0












                                                            0








                                                            0







                                                            The way I fixed it was to go to platformsandroid folder and did a find-in-folder from my VS code editor for minSdkVersion and replaced all minSdkVersion=16 to minSdkVersion=19 regardless of whether cordova generated it dynamically or not. Everything worked fine for me after that.






                                                            share|improve this answer













                                                            The way I fixed it was to go to platformsandroid folder and did a find-in-folder from my VS code editor for minSdkVersion and replaced all minSdkVersion=16 to minSdkVersion=19 regardless of whether cordova generated it dynamically or not. Everything worked fine for me after that.







                                                            share|improve this answer












                                                            share|improve this answer



                                                            share|improve this answer










                                                            answered May 17 at 14:07









                                                            vivek_23vivek_23

                                                            3,6382623




                                                            3,6382623





















                                                                -1














                                                                Please Follow these three steps to solve this error in ionic 3



                                                                1) projectfolder/platforms/android/CordovaLib/AndroidManifest.xml



                                                                <uses-sdk android:minSdkVersion="16" /> change this to



                                                                <uses-sdk android:minSdkVersion="19" />



                                                                2) projectfolder/platforms/android/gradle.properties



                                                                cdvMinSdkVersion=16 or X change to



                                                                cdvMinSdkVersion=19



                                                                3) projectfolder/config.xml



                                                                <preference name="android-minSdkVersion" value="16" /> change to



                                                                `






                                                                share|improve this answer





























                                                                  -1














                                                                  Please Follow these three steps to solve this error in ionic 3



                                                                  1) projectfolder/platforms/android/CordovaLib/AndroidManifest.xml



                                                                  <uses-sdk android:minSdkVersion="16" /> change this to



                                                                  <uses-sdk android:minSdkVersion="19" />



                                                                  2) projectfolder/platforms/android/gradle.properties



                                                                  cdvMinSdkVersion=16 or X change to



                                                                  cdvMinSdkVersion=19



                                                                  3) projectfolder/config.xml



                                                                  <preference name="android-minSdkVersion" value="16" /> change to



                                                                  `






                                                                  share|improve this answer



























                                                                    -1












                                                                    -1








                                                                    -1







                                                                    Please Follow these three steps to solve this error in ionic 3



                                                                    1) projectfolder/platforms/android/CordovaLib/AndroidManifest.xml



                                                                    <uses-sdk android:minSdkVersion="16" /> change this to



                                                                    <uses-sdk android:minSdkVersion="19" />



                                                                    2) projectfolder/platforms/android/gradle.properties



                                                                    cdvMinSdkVersion=16 or X change to



                                                                    cdvMinSdkVersion=19



                                                                    3) projectfolder/config.xml



                                                                    <preference name="android-minSdkVersion" value="16" /> change to



                                                                    `






                                                                    share|improve this answer















                                                                    Please Follow these three steps to solve this error in ionic 3



                                                                    1) projectfolder/platforms/android/CordovaLib/AndroidManifest.xml



                                                                    <uses-sdk android:minSdkVersion="16" /> change this to



                                                                    <uses-sdk android:minSdkVersion="19" />



                                                                    2) projectfolder/platforms/android/gradle.properties



                                                                    cdvMinSdkVersion=16 or X change to



                                                                    cdvMinSdkVersion=19



                                                                    3) projectfolder/config.xml



                                                                    <preference name="android-minSdkVersion" value="16" /> change to



                                                                    `







                                                                    share|improve this answer














                                                                    share|improve this answer



                                                                    share|improve this answer








                                                                    edited Apr 3 at 19:23

























                                                                    answered Apr 3 at 18:41









                                                                    jithzzzjithzzz

                                                                    113




                                                                    113



























                                                                        draft saved

                                                                        draft discarded
















































                                                                        Thanks for contributing an answer to Stack Overflow!


                                                                        • Please be sure to answer the question. Provide details and share your research!

                                                                        But avoid


                                                                        • Asking for help, clarification, or responding to other answers.

                                                                        • Making statements based on opinion; back them up with references or personal experience.

                                                                        To learn more, see our tips on writing great answers.




                                                                        draft saved


                                                                        draft discarded














                                                                        StackExchange.ready(
                                                                        function ()
                                                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37293082%2fuses-sdkminsdkversion-15-cannot-be-smaller-than-version-16-declared-in-library%23new-answer', 'question_page');

                                                                        );

                                                                        Post as a guest















                                                                        Required, but never shown





















































                                                                        Required, but never shown














                                                                        Required, but never shown












                                                                        Required, but never shown







                                                                        Required, but never shown

































                                                                        Required, but never shown














                                                                        Required, but never shown












                                                                        Required, but never shown







                                                                        Required, but never shown







                                                                        Popular posts from this blog

                                                                        SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                                                                        용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                                                                        155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해