You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/07/23 16:10:04 UTC

[GitHub] [cordova-android] ath0mas commented on pull request #1410: feat!: API 31 support

ath0mas commented on PR #1410:
URL: https://github.com/apache/cordova-android/pull/1410#issuecomment-1193148694

   Thanks for v11 💯 !!
   
   Just to let you know that the `AGP 4.2.2 -> 7.1.0` is partly blocking for IntelliJ IDEA users for now (not Android Studio).
   When opening the generated Android native project, an error during Sync prevents further loading because of AGP version incompatibility.
   
   Details:
   - IntelliJ IDEA latest stable version is **2022.1.4**
   - its Android plugin is mapped to Android Studio, and current version is **bundled 2020.3.1 Final.221.6008.13** (corresponding to Arctic Fox)
   - in practice and given the [compatibility table](https://developer.android.com/studio/releases/gradle-plugin#agp-studio-compatibility), **AGP can only be 7.0 at max** for now to work properly
   - this PR sets v7.1, requiring **Bumblebee | 2021.1.1**, and was followed by an update to v7.2 in #1446, requiring **Chipmunk | 2021.2.1**
   
   Workarounds (see their [issue tracker](https://youtrack.jetbrains.com/issue/IDEA-252823/Gradle-Android-Support-Plugin-fails-to-import-project-misleadingly-complains-about-the-version-of-the-Android-Support-Gradle)):
   > please use IDEA 2022.2 or downgrade AGP to version 7.0.x
   - edit `framework/cdv-gradle-config-defaults.json` to force `AGP_VERSION` to, let say, **7.0.1** ; and force reload/Sync
   - try to update IntelliJ IDEA to preview builds of **2022.2** (currently [RC](https://blog.jetbrains.com/idea/2022/07/intellij-idea-2022-2-release-candidate/))


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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