GitHub user GitToTheHub edited a discussion: cordova-android 14: Some warnings 
in Android Studio

Hi,

when i add `cordova-android` 14 by `cordova platform add 
https://github.com/apache/cordova-android#14.0.0`
and open it in the latest Android Studio (Meerkat | 2024.3.1), i get some 
warnings:

# 1. "Duplicate content roots detected"

> [.../platforms/android/CordovaLib] of module [AppName.CordovaLib] was removed 
> from modules [AppName.CordovaLib.main]

# 2. Gradle update recommendation to 8.9.0

<img 
src="https://github.com/user-attachments/assets/02b4d876-6e9a-4a51-ad10-790aae4b538f";
 width="400">

Upgrading to 8.9.0 is not possible, it says:

> This step is blocked .. Cannot find AGP version in build files. Cannot locate 
> the version specification for the Android Gradle Plugin dependency, possibly 
> because the project's build files use features not currently supported by the 
> Upgrade Assistant (for example: using constants defined in buildSrc). If the 
> project was modified externally while this project was open, syncing your 
> project may help locating the currently used AGP version; this window will 
> update once sync finishes.

Could AGP already set to 8.9.0?

GitHub link: https://github.com/apache/cordova/discussions/530

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to