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

Android API Level SHOULD NOT be hardcoded in the CLI

    XMLWordPrintableJSON

Details

    Description

      Situation: I have re-downloaded my ADT bundle from developer.android.com
      This bundle comes with the Android api lvl 18 pre-installed.
      I have updated everything that needs an update, but I have not installed any new SDK's.

      Question: Upon executing the command: 'cordova add platform android' I get the following error:

      C:\cordovaprojects\test>cordova platform add android
      Checking Android requirements...
      [Error: Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.]

      Is it really nescessary to have Android api lvl 17 installed? I want to limit the time for our users to set everything up, so it would be helpful if we could use the Api lvl 18 that comes preinstalled with ADT bundle.

      Thx in advance!

      Attachments

        Activity

          People

            mmocny Michal Mocny
            Marcoevich Rick Gommers
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: