You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/07/09 14:32:00 UTC

[jira] [Closed] (CB-12993) CLI only offers cordova-android 6.2.2 although 6.2.3 is available and installable

     [ https://issues.apache.org/jira/browse/CB-12993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-12993.
-----------------------------
    Resolution: Not A Problem

Each CLI pins some versions
When you type
cordova platform ls
you get
android ~6.2.2

That doesn't mean that it will fetch 6.2.2, the ~ before 6.2.2 means, fetch the latest patch version available, so if you install it, you'll get 6.2.3 or a latter 6.2.x version if another patch version is published.


> CLI only offers cordova-android 6.2.2 although 6.2.3 is available and installable
> ---------------------------------------------------------------------------------
>
>                 Key: CB-12993
>                 URL: https://issues.apache.org/jira/browse/CB-12993
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-cli
>    Affects Versions: 7.0.1
>            Reporter: Jan Piotrowski
>            Assignee: Joe Bowser
>
> {code}
> PS C:\Users\Jan\Documents\my-app> cordova -v
> 7.0.1
> {code}
> {code}
> PS C:\Users\Jan\Documents\my-app> cordova platform ls
> Installed platforms:
> Available platforms:
>   android ~6.2.2
>   blackberry10 ~3.8.0 (deprecated)
>   browser ~4.1.0
>   webos ~3.7.0
>   windows ~5.0.0
> {code}
> {code}
> PS C:\Users\Jan\Documents\my-app> cordova platform add android@6.2.3
> Using cordova-fetch for cordova-android@6.2.3
> Adding android project...
> Creating Cordova project for the Android platform:
>         Path: platforms\android
>         Package: com.phonegap.helloworld
>         Name: helloworld
>         Activity: MainActivity
>         Android target: android-25
> ...
> {code}
> Why does it only offer (and install if you don't specify a version) 6.2.2?



--
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