layout: post author:
name: Steve Gill
url: https://twitter.com/stevesgill
title: "Cordova Android 6.2.1 Released!" categories: announcements
We are happy to announce that Cordova Android 6.2.1
has been released!
This release has fixed issues introduced by the Android SDK Tools 25.3.1 release. Google dropped support for the android
binary, so cordova-android
has now adopted support for the avdmanager
and sdkmanager
binaries. We have also taken the opportunity to rewrite how we use gradle on the user's system. cordova-android
now requires Android Studio or Gradle to be installed on the user's system.
This release also adds support for the <resource-file>
element in config.xml
which copies specified files during a cordova prepare
. This allows providing arbitrary files such as special notification-sized icons, or API configuration JSON files.
To upgrade:
npm install -g cordova
cd my_project
cordova platform update android@6.2.1
To add it explicitly:
cordova platform add android@6.2.1
This release will have to be explicitly added until the upcoming cordova@7
release, where it will be pinned as the default android platform.
elementtree
dep to 0.1.6
resource-files
from config.xml
avdmanager
if android
warns it is no longer useful, which happens in Android SDK Tools 25.3.1. Explicitly set the CWD
of the spawned emulator process to workaround a recent google android sdk bug. Actually include the android_sdk_version.bat
file in generated cordova-android
projects for our lovely Windows users.