Skip to content

Commit 085f7ae

Browse files
committed
blog: [email protected] release
1 parent b7563b3 commit 085f7ae

File tree

3 files changed

+174
-0
lines changed

3 files changed

+174
-0
lines changed
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
---
2+
layout: post
3+
author:
4+
name: Bryan Ellis
5+
title: "Cordova Android 14.0.0 Released!"
6+
categories: announcements
7+
tags: news releases
8+
---
9+
10+
We are happy to announce that we have just released `Cordova Android 14.0.0`! This is one of Cordova's supported platforms for building Android applications.
11+
12+
* [[email protected]](https://www.npmjs.com/package/cordova-android)
13+
14+
**To upgrade:**
15+
16+
```bash
17+
cordova platform remove android
18+
cordova platform add [email protected]
19+
```
20+
21+
**To install:**
22+
23+
```bash
24+
cordova platform add [email protected]
25+
```
26+
27+
## Release Highlights
28+
29+
### BREAKING CHANGES
30+
31+
* **Increased Target SDK**
32+
33+
This release has increased the target SDK to 35 (Android 15).
34+
35+
* **Project Dependencies**
36+
37+
The following Gradle dependencies were bumpped:
38+
39+
* Gradle: `8.13`
40+
* Android Gradle Plugin (AGP): `8.7.3`
41+
42+
Additionally, the following libraries have been upgraded:
43+
44+
- AndroidX App Compat - `1.7.0`
45+
- AndroidX WebKit - `1.12.1`
46+
- AndroidX SplashScreen Core - `1.0.1`
47+
- Google Services Gradle Plugin - `4.4.2`
48+
49+
If you or a plugin has made changes to any of the following configuration preferences, the build results might not match the expected outcomes with this release:
50+
51+
|Preference|Default Value|
52+
|---|---|
53+
|`android-minSdkVersion`|24|
54+
|`android-maxSdkVersion`|_Not set_|
55+
|`android-targetSdkVersion`|35|
56+
|`android-compileSdkVersion`|_android-targetSdkVersion configured value_|
57+
|`android-buildToolsVersion`|35.0.0|
58+
|`GradleVersion`|8.13|
59+
|`AndroidGradlePluginVersion`|8.7.3|
60+
|`GradlePluginKotlinVersion`|1.9.24|
61+
|`AndroidXAppCompatVersion`|1.7.0|
62+
|`AndroidXWebKitVersion`|1.12.1|
63+
|`GradlePluginGoogleServicesVersion`|4.4.2|
64+
65+
Please take note of the versions that have been updated in this release. If you have manually modified any of these values, it is recommended to review and update the preference values accordingly.
66+
67+
* **Increased Android Studio Requirement**
68+
69+
With the increase of Android Gradle Plugin, Android Studio Ladybug is the minimum required version for building and running projects in Android Studio. This aligns with the [Android Gradle plugin and Android Studio compatibility](https://developer.android.com/build/releases/gradle-plugin#android_gradle_plugin_and_android_studio_compatibility) documentation.
70+
71+
* **Required Build Tools**
72+
73+
To use `[email protected]`, SDK Platform `35` and SDK Build Tools `35.0.0` must be installed. Older build tools version can be uninstalled if older versions of cordova-android is no longer used in any of your projects.
74+
75+
To install SDK Platform 35:
76+
77+
1. Open Android Studio's **SDK Manager**:
78+
2. Click on `SDK Platforms` tab
79+
3. Check `Android 15.0 ("VanillaIceCream")` which has the `API Level` of `35`
80+
4. Click `Apply`
81+
82+
<img src="{{ site.baseurl }}/static/img/blog/2025/cordova-android-14-platform-sdk-35.png" style="width: 100%;" alt="Android SDK Platform" />
83+
84+
To install SDK Build Tools 35.0.0:
85+
86+
5. Open Android Studio's **SDK Manager**:
87+
6. Click on `SDK Tools` tab
88+
7. Check `Show Package Details`
89+
8. Expand `Android SDK Build-Tools`
90+
9. Check `35.0.0`
91+
10. Click `Apply`
92+
93+
<img src="{{ site.baseurl }}/static/img/blog/2025/cordova-android-14-sdk-build-tools-3500.png" style="width: 100%;" alt="Android SDK Build Tools" />
94+
95+
* **Increased Java Source & Target Compatibility**
96+
97+
The Java Source & Target Compatibility has been increased to version 11. This aligns with the default settings used when creating a blank native project.
98+
99+
* **Increased Node.js Engine Requirement**
100+
101+
The Node.js engine requirement in this release has been increased to version 20.5.0 or later.
102+
103+
* **Deprecated `CordovaPlugin`'s `initialize` Method**
104+
105+
The `initialize` method of the `CordovaPlugin` class has been marked as deprecated and will be removed in a future release. While this method was always considered deprecated, it was not properly annotated to notify plugin developers.
106+
107+
We recommend using the `pluginInitialize` method as a replacement for `initialize`.
108+
109+
* **Replaced Library `kotlin-stdlib-jdk*` with `kotlin-stdlib`**
110+
111+
The `kotlin-stdlib-jdk*` libraries have been replaced with `kotlin-stdlib`. Both `kotlin-stdlib-jdk7` and `kotlin-stdlib-jdk8` are merged into `kotlin-stdlib`.
112+
113+
### Feature
114+
115+
* **Added `AndroidEdgeToEdge` Preference Support**
116+
117+
By default, Android 15 enforces the Edge-to-Edge feature, which may affect some Apache Cordova apps.
118+
119+
In this major release, Apache Cordova has opted out of the Edge-to-Edge feature to retain the original behavior and allow app developers ample time to make the necessary adjustments to support Edge-to-Edge.
120+
121+
Users can re-enable the Edge-to-Edge feature using this new preference flag.
122+
123+
It is expected that in Android's next major release, opting out of Edge-to-Edge will no longer be possible.
124+
125+
Apache Cordova will continue to prepare for this expected future behavior change.
126+
127+
<!--more-->
128+
# Changes include:
129+
130+
**Breaking Changes:**
131+
132+
* [GH-1788](https://github.com/apache/cordova-android/pull/1788) dep!: bump npm packages
133+
134+
135+
136+
137+
138+
139+
140+
141+
* [GH-1789](https://github.com/apache/cordova-android/pull/1789) feat!: bump node engine requirement `>=20.5.0`
142+
* [GH-1784](https://github.com/apache/cordova-android/pull/1784) feat!: bump java default targets to 11
143+
* [GH-1771](https://github.com/apache/cordova-android/pull/1771) feat!: deprecate CordovaPlugin's method initialize
144+
* [GH-1767](https://github.com/apache/cordova-android/pull/1767) feat!: use kotlin-stdlib instead of kotlin-stdlib-jdk*
145+
* [GH-1763](https://github.com/apache/cordova-android/pull/1763) feat!: SDK 35 Support
146+
147+
**Features:**
148+
149+
* [GH-1785](https://github.com/apache/cordova-android/pull/1785) feat: bump gradle to 8.13
150+
* [GH-1779](https://github.com/apache/cordova-android/pull/1779) feat: add `AndroidEdgeToEdge` preference & theme flag
151+
* [GH-1778](https://github.com/apache/cordova-android/pull/1778) feat: Account for Node security patch
152+
* [GH-1768](https://github.com/apache/cordova-android/pull/1768) feat: `androidx.core:[email protected]`
153+
* [GH-1766](https://github.com/apache/cordova-android/pull/1766) feat: `com.google.gms:[email protected]`
154+
* [GH-1765](https://github.com/apache/cordova-android/pull/1765) feat: `androidx.webkit:[email protected]`
155+
* [GH-1764](https://github.com/apache/cordova-android/pull/1764) feat: `androidx.appcompat:[email protected]`
156+
157+
**Fixes:**
158+
159+
* [GH-1790](https://github.com/apache/cordova-android/pull/1790) fix: replace fs-extra.ensureFileSync with fs.writeFileSync
160+
* [GH-1781](https://github.com/apache/cordova-android/pull/1781) fix: copy gradle wrapper from tools to platform root dir
161+
* [GH-1770](https://github.com/apache/cordova-android/pull/1770) fix: creation of cdv-gradle-config.json w/ --link flag
162+
* [GH-1739](https://github.com/apache/cordova-android/pull/1739) fix(docs): Incorrect JDK requirement stated in README
163+
* [GH-1718](https://github.com/apache/cordova-android/pull/1718) fix: app restart when BT keyboard is connected in some devices
164+
165+
**Chores & Refactoring:**
166+
167+
* [GH-1786](https://github.com/apache/cordova-android/pull/1786) chore: add AndroidX build test to gitignore
168+
* [GH-1774](https://github.com/apache/cordova-android/pull/1774) style: update & resolve doc block warnings
169+
* [GH-1772](https://github.com/apache/cordova-android/pull/1772) refactor: replace fs-extra with node:fs
170+
* [GH-1769](https://github.com/apache/cordova-android/pull/1769) refactor: prefix node:*
171+
* [GH-1748](https://github.com/apache/cordova-android/pull/1748) chore(deps): bump cross-spawn from 7.0.3 to 7.0.6
172+
* [GH-1750](https://github.com/apache/cordova-android/pull/1750) chore(ci): Fix dependabot PR failures
173+
* [GH-1736](https://github.com/apache/cordova-android/pull/1736) chore(deps): bump micromatch from 4.0.5 to 4.0.8
174+
* [GH-1716](https://github.com/apache/cordova-android/pull/1716) chore(deps): bump braces from 3.0.2 to 3.0.3
Loading
Loading

0 commit comments

Comments
 (0)