Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14081

Android level support not being followed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 6.4.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      OS: macOS 10.12.6
      Cordova version: 8.0.0  
      Cordova android: 6.4.0  
      Node version: 6.9.0
      Npm version: 3.10.8

      Description

      Hello everyone.

      Expected behaviour:

      According to this cordova guide , cordova-android versions 6.x.x does support 16-26 Android Api Level. So it is supposed to build a cordova project with api level 20, if specified this way.

      Actual behaviour:

      Even though, I'm not being able to build a cordova project specifying my cdvBuildToolsVersion to 20 at build time.
      Gradle build tasks warns me like this:
      "WARNING: The specified Android SDK Build Tools version (20.0.0) is ignored, as it is below the minimum supported version (26.0.2) for Android Gradle Plugin 3.0.0.
      Android SDK Build Tools 26.0.2 will be used."
       
      Steps to reproduce:
      Execute:

      $ export ORG_GRADLE_PROJECT_cdvBuildToolsVersion=20
      $ cordova build android

       

        Attachments

          Activity

            People

            • Assignee:
              bowserj Joey Robert Bowser
              Reporter:
              victormolinar Victor Hugo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: