I hope there is a solution to this coz Google did not help much Android Studio Flutter project can not recognize GradleException and Properties in build.gradle
Steps to reproduce:
- New flutter project in Android studio
- Navigate to /android/app/src/build.gradle
- Error reported: Cannot resolve symbol 'GradleException' and Cannot resolve symbol 'Properties'
Solution 1: Mamene
You can juste remove the new in front of Properties and GradleException