Skip to content

[Bug]: The project is using an incompatible version (AGP 8.13.0) of the Android Gradle plugin. Latest supported version is AGP 8.12.2 #8292

@edocbuhtig

Description

@edocbuhtig

Capacitor Version

Latest Dependencies:

@capacitor/cli: 8.0.0
@capacitor/core: 8.0.0
@capacitor/android: 8.0.0
@capacitor/ios: 8.0.0

Installed Dependencies:

@capacitor/ios: not installed
@capacitor/cli: 8.0.0
@capacitor/core: 8.0.0
@capacitor/android: 8.0.0

[success] Android looking great!

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

After creating a New Blank Starter Template & Running below:

ionic cap open android
Android Studio build fails with error

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

The project is using an incompatible version (AGP 8.13.0) of the Android Gradle plugin. Latest supported version is AGP 8.12.2

See Android Studio & AGP compatibility options.

Expected Behavior

The ionic start new blank template should run inside android studio with Gradle background update,inorder to test on a real device or generate (.aab ) file.

This was working in Ionic version 7.x with capacitor 7.x

Project Reproduction

https://github.com/edocbuhtig

Additional Information

Steps to reproduce

  1. ionic start --package-id="com.demo.app"
  2. ionic cap add add android.
  3. ionic cap open android

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions