Exception: [!] Your app is using an unsupported Gradle project
The error message “Exception: [!] Your app is using an unsupported Gradle project” typically occurs when you’re trying to build or run an Android app using a Gradle project that is not supported by the version of Gradle being used.
To resolve this issue, you can try the following steps:
- Open your project in a text editor or an integrated development environment (IDE) such as Android Studio.
- Look for the build.gradle file in the root directory of your project. This file contains the configuration for your Gradle build.
- Check the Gradle version specified in the build.gradle file, specifically the classpath dependency in the buildscript section. It should look similar to this:
Make sure that the Gradle version specified is supported by your Android development environment. You can refer to the Android Gradle Plugin Release Notes (https://developer.android.com/studio/releases/gradle-plugin) to find the compatible Gradle version for your Android Studio or project.
Try adding this Piece of Code
After the line