You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ruslan Bikkinin (JIRA)" <ji...@apache.org> on 2017/07/17 10:23:02 UTC

[jira] [Created] (CB-13027) CLI lacks of sdk tools compatibility information

Ruslan Bikkinin created CB-13027:
------------------------------------

             Summary: CLI lacks of sdk tools compatibility information
                 Key: CB-13027
                 URL: https://issues.apache.org/jira/browse/CB-13027
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-cli
    Affects Versions: 6.1.1
            Reporter: Ruslan Bikkinin


Here is my scenario:
1. I have global Android SDK 26 installed with target android-16 support.
2. I install cordova 6.1.1 {{npm i -g cordova@6.1.1}}
3. I create cordova application {{cordova create testapp-cordova}}
4. I added 4.1.1 android platform support to it {{cordova platform add android@4.1.1}}
5. I tried to compile application {{cordova compile}} but it failed because of {{cordova/lib/check_reqs.js:249}}:
{code:javascript}
    return tryCommand('android list targets --compact', msg)
{code}
It uses old cli command syntax which has been changed in newer version of SDK's tools to `android list target`.

The problem is that cordova's documenation has not any compatibility table for SDK's tools version or cli's warning prompt.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org