[ 
https://issues.apache.org/jira/browse/CB-13831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341196#comment-16341196
 ] 

ASF GitHub Bot commented on CB-13831:
-------------------------------------

infil00p closed pull request #430: CB-13831: (android) Update 
`android-versions` to 1.3.0 to support SDK 27.
URL: https://github.com/apache/cordova-android/pull/430
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/package.json b/package.json
index 16497fc72..58be2aa0d 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
   "author": "Apache Software Foundation",
   "license": "Apache-2.0",
   "dependencies": {
-    "android-versions": "^1.2.1",
+    "android-versions": "^1.3.0",
     "cordova-common": "^2.2.0",
     "elementtree": "0.1.6",
     "nopt": "^3.0.1",


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Update `android-versions` npm dependency to support Android API 27.
> -------------------------------------------------------------------
>
>                 Key: CB-13831
>                 URL: https://issues.apache.org/jira/browse/CB-13831
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: cordova-android
>            Reporter: Jesse Rosenberger
>            Assignee: Joe Bowser
>            Priority: Trivial
>
> The current version of {{cordova-android}} currently bundles (via 
> {{package.json}}'s {{bundledDependencies}} attribute) a version of the 
> [{{android-versions}} npm|https://npm.im/android-versions] which doesn't 
> support Android SDK level 27, which was officially released in the last month.
> This omission prevents the use of {{cordova run android --emulator -d}} if 
> API level 27 is installed, which is the default SDK for a new installation of 
> Android Studio.  It also contributed to the error seen in CB-13571, though 
> that will prevent the same error from occurring in the future if an 
> additional SDK is released and not included in {{android-versions}}.
> While the latest version of {{android-versions}} (currently 1.3.0) does 
> support level 27 (now, thanks to [this recent 
> commit|https://github.com/dvoiss/android-versions/commit/230957205eeb26e569096251a32179e88a28acfc]),
>  the fact that it is a so-called "bundled dependency" means the current 
> version (1.2.1) is baked into the {{cordova-android}} installation tarball, 
> and won't automatically respect the caret version range (`^1.2.1`) listed in 
> {{cordova-android}}`s {{package.json}}, despite the lack of a 
> {{package-lock.json}} (or otherwise).
> Bumping the version of {{android-versions}} in {{cordova-android}}'s 
> {{package.json}} to 1.3.0 will enable the emulator to work with API level 27 
> (even if there _could_ be other reasons that API level 27 causes problems).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to