Error Running Gradle & Cannot resolve symbol 'GradleException'

  • Error running Gradle:
    ProcessException: Process exited abnormally:

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘/Users/donyielladams/AndroidStudioProjects/flash-chat-flutter/android/app/build.gradle’ line: 25

  • What went wrong:
    A problem occurred evaluating project ‘:app’.

Failed to apply plugin [id ‘com.android.application’]
Cannot parse project property android.enableJetifier=‘trueandroid.enableR8=true’ of type ‘class java.lang.String’ as boolean. Expected ‘true’ or ‘false’.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s
Command: /Users/donyielladams/AndroidStudioProjects/flash-chat-flutter/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

Hi, did you fix it bro??

Did you edit gradle.properties file by any chance? ‘android.enableJetifier=true’ appears in that file. Maybe two lines became one line by mistake.

If not, try searching for ‘android.enableJetifier’ in all of your project files (not just code files).

I can not find it,
in which file do you exatly mean, Sir.