Just Follow Below Steps.
Read moreWhere is gradle file in Flutter?
B. gradle file. For full-Flutter apps, these edits are done in your Flutter project’s /android/ directory .
Read moreHow do I change gradle in Flutter?
open your project and then go to : File->Settings->Build, Execution, Deployment->Build Tools-> Gradle . Add the path of your Gradle in The Android Studio as shown bellow.
Read moreWhere is the gradle settings?
We can get to the settings from the Gradle Tool Window, or from the usual Settings/Preferences dialog (⌘, (macOS), or Ctrl+Alt+S (Windows/Linux)) and navigating to Build, Execution, Deployment | Build Tools | Gradle. Generally these settings are fine for most projects, and don’t need changing.
Read moreIs Android SDK mandatory for Flutter?
It is not neccessary, but advised to install Android Studio for Flutter . It makes it very easy to install and configure all the settings etc. What you definitely need is the Android SDK and JDK. You can definitely install and run flutter without Android Studio (you can also use Visual Studio).
Read more