Cordova Android 5.2.0
02 Jul 2016
We are happy to announce that Cordova Android 5.2.0
has been released!
This release includes many bug fixes. Read below for the full changelog.
A new version of the cordova-cli
will need to be released to pin this version of cordova-android as the default version when creating a new project. If you want to start using this version now, make sure to specify the version when doing a cordova platform add/update
.
Note: When updating, make sure to save your plugins as current unsaved plugins may not be reinstalled otherwise. Run the following command in your project to save your currently installed plugins into config.xml
:
cordova plugin save
To upgrade:
npm install -g cordova
cd my_project
cordova platform update android@5.2.0
To add it explicitly:
cordova platform add android@5.2.0
What's new in Android platform
- CB-11383 Update to gradle for using
jcenter
and correct Application plugin - CB-11365 fixed plugin rm issue with emit being
undefined
- CB-11117 Use
FileUpdater
to optimize prepare for android platform - CB-10096 Upgrade test project to
Gradle Plugin 2.1.0
- CB-11292 fix broken
MessageChannel
after plugins are recreated - CB-11259 Improving build output
- CB-10096 Upgrading to
Gradle Plugin 2.1.0
- CB-11198 Skip android target sdk check. This closes #303.
- CB-11138 Reuse
PluginManager
fromcommon
to add/rm plugins - CB-11133 Handle android emulator start failure
- CB-11132 Fix Error: Cannot read property
match
of undefined incordova-android
emulator.js
- CB-11015 Error adding plugin with gradle extras
- CB-11095 Fix plugin add/removal when running on
Node v0.10
- CB-11022 Duplicate www files to both destinations on plugin operations
- CB-10964 Handle
build.json
file starting with a BOM. - CB-10963 Handle overlapping permission requests from plugins
- CB-8582 Obscure
INSTALL_FAILED_VERSION_DOWNGRADE
error when installing app - CB-10862 Cannot set
minsdkversion
- CB-10896 We never enabled cookies on the
WebView
proper - CB-10837 Support platform-specific orientation on Android
- CB-10600
cordova run android --release
does not use signed and zip-aligned version ofAPK
- CB-9710 Fixing issues parsing
android avd list
output for certain AVDs which resulted in them not being included in the selection process even if they are the best match. - CB-10888 Enable coverage reports collection via codecov
- CB-10846 Add Travis and AppVeyor badges to readme
- CB-10846 Add AppVeyor configuration
- CB-10749 Use
cordova-common.CordovaLogger
incordova-android
- CB-10673 fixed conflicting plugin install issue with overlapped
<source-file>
tag. Add--force
flag. - CB-8976 Removing the auto-version for non-Crosswalk applications
- CB-10768 Use
cordova-common.superspawn
inGradleBuilder
- CB-10729 Move plugin handlers tests for into platform's repo
- CB-10669
cordova run --list
cannot findadb
- CB-10660 fixed the exception when removing a non-existing directory.