[
https://issues.apache.org/jira/browse/CB-13027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruslan Bikkinin updated CB-13027:
---------------------------------
Description:
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 [email protected]}}
3. I create cordova application {{cordova create testapp-cordova}}
4. I added 4.1.1 android platform support to it {{cordova platform add
[email protected]}}
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.
was:
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 [email protected]}}
3. I create cordova application {{cordova create testapp-cordova}}
4. I added 4.1.1 android platform support to it {{cordova platform add
[email protected]}}
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.
> 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 [email protected]}}
> 3. I create cordova application {{cordova create testapp-cordova}}
> 4. I added 4.1.1 android platform support to it {{cordova platform add
> [email protected]}}
> 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: [email protected]
For additional commands, e-mail: [email protected]