[ https://issues.apache.org/jira/browse/CB-13620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277361#comment-16277361 ]
ASF GitHub Bot commented on CB-13620: ------------------------------------- infil00p commented on a change in pull request #775: CB-13620: 7.0.0 Docs Update. Includes upgrade instructions. URL: https://github.com/apache/cordova-docs/pull/775#discussion_r154754428 ########## File path: www/_posts/2017-12-04-cordova-android-7.0.0.md ########## @@ -0,0 +1,58 @@ +--- +layout: post +author: + name: Joe Bowser + url: https://twitter.com/infil00p +title: "Cordova Android 7.0.0 Released!" +categories: announcements +tags: news releases +--- + +We are happy to announce that `Cordova Android 7.0.0` has been released! + +With this release, we have changed the default project structure for Android projects. People who currently use the CLI and treat everything in the platforms directory as a +build artifact should not notice a difference, however this a major breaking change for people creating standalone Cordova Android projects. This also means that the locations +of files have changed and have been brought in line to the structure used by Android Studio. + +## Major Changes include: + * Support for Java 1.8 language features in Cordova Plugins + * CordovaInterface now has a Context getter so that contexts can be retrieved without an Activity + * Cordova can now build for x86_64, arm64 and armeabi architecture when building plugins that use the NDK + * The minimum Android API version supported is now API Level 19 + * Due to the directory structure change, we no longer support in-line upgrading, bringing us in line with iOS + * ANT builds are no longer supported and the functionality has been removed. + +To upgrade: + + npm install -g cordova + cd my_project + cordova platform remove android + cordova platform add android@7.0.0 + +To add it explicitly: + + cordova platform add android@7.0.0 + +<!--more--> +## Curated Changelog +* [CB-13612](https://issues.apache.org/jira/browse/CB-13612) Fix the remapper so that XML files copy over and the Camera works again. +* [CB-13741](https://issues.apache.org/jira/browse/CB-13741) Bump `package.json` so we can install plugins +* [CB-13610](https://issues.apache.org/jira/browse/CB-13610) Compress the default app assets +* [CB-12835](https://issues.apache.org/jira/browse/CB-12835) add a Context getter in CordovaInterface +* [CB-8976](https://issues.apache.org/jira/browse/CB-8976) Added the `cdvVersionCodeForceAbiDigit` flag to the template build.gradle that appends 0 to the versionCode when `cdvBuildMultipleApks` is not set +* [CB-12291](https://issues.apache.org/jira/browse/CB-12291) (android) Add x86_64, arm64 and armeabi architecture flavors +* [CB-13602](https://issues.apache.org/jira/browse/CB-13602) We were setting the path wrong, this is hacky but it works +* [CB-13601](https://issues.apache.org/jira/browse/CB-13601) Fixing the standalone run scripts to make sure this works without using the CLI +* [CB-13580](https://issues.apache.org/jira/browse/CB-13580) fix build for multiple apks (different product flavors) +* [CB-13558](https://issues.apache.org/jira/browse/CB-13558) Upgrading the gradle so we can upload the AAR +* [CB-13297](https://issues.apache.org/jira/browse/CB-13297) This just works once you bump the project structure. Java 1.8 compatibility baked-in +* [CB-11244](https://issues.apache.org/jira/browse/CB-11244) **Android** Studio 3 work, things have changed with how the platform is built +* [CB-11244](https://issues.apache.org/jira/browse/CB-11244) Found bug where the gradle subproject changes weren't actually getting written to the correct gradle file +* [CB-13470](https://issues.apache.org/jira/browse/CB-13470) Fix Clean so that it cleans the **Android** Studio structure +* [CB-11244](https://issues.apache.org/jira/browse/CB-11244) Adding specs for resource files inside an **Android** Studio Project +* [CB-11244](https://issues.apache.org/jira/browse/CB-11244) Added remapping for drawables +* [CB-11244](https://issues.apache.org/jira/browse/CB-11244) Found bug in Api.js where xml/strings.xml is used instead of values/strings.xml +* [CB-11244](https://issues.apache.org/jira/browse/CB-11244) Setup Api.js to support multiple builders based on project structure +* [CB-11244](https://issues.apache.org/jira/browse/CB-11244) Changing directory creation, will most likely hide this behind a flag for the next release of `cordova-android`, and then make it default in the next major pending feedback +* Adding the Studio Builder to build a project based on **Android** Studio, and deleting Ant, since Google does not support Ant Builds anymore. Sorry guys! Review comment: @janpio The commit is in the changelog because dropping ANT support is important. I've edited it. It was an innocent mistake that I can't fix without violating a bunch of ASF policies. ---------------------------------------------------------------- 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: us...@infra.apache.org > Cordova-Android Platform Release November 30, 2017 > -------------------------------------------------- > > Key: CB-13620 > URL: https://issues.apache.org/jira/browse/CB-13620 > Project: Apache Cordova > Issue Type: Task > Components: cordova-android > Affects Versions: 7.0.0 > Reporter: Joe Bowser > Assignee: Joe Bowser > Priority: Blocker > Labels: android-next > Fix For: 7.0.0 > > -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org