US Office

1176 Shadeville Rd, Crawfordville Florida 32327, USA

 +1 (850) 780-1313

India Office

Office No 405, Kabir Shilp, Opp. Kansar Hotel, Opp. Landmark, Kudasan, Gandhinagar, Gujarat 382421

[email protected]

How to Solve Install Gradle Issue In Flutter ??

How to Solve Install Gradle Issues In Flutter

How to Solve Install Gradle Issue In Flutter ??

When the user installs the flutter framework for the first time sometimes they might get the error. The error states about install Gradle issues in a flutter. So, in this article, we will learn about how to solve the install Gradle issue in a flutter.

How to Solve Install Gradle Issue In Flutter?

If you change the flutter channel to master, you’ll see that it will run normally. You can use the master channel for now and then switch it back to dev.

flutter channel master
flutter upgrade

# to see all the channels, run
flutter channel

user have to edit $flutterRoot/packages/flutter_tools/gradle/flutter.gradle

buildscript {
    repositories {
        maven {
            url ''
    dependencies {
        classpath ''

In the Gradle wrapper properties Gradle/wrapper/ you may also have to change it to 4.6 or above.


Users can also try the below way:

Open the root flutter folder in your computer, and open the Gradle folder in that root folder for example C:\flutter\package\flutter_tool\gradle and add ‘google()‘ to the build script. It fixed the issue for me. flutter root folder:

flutter root path

flutter root path

Add ‘google()’ in the buildscript:

BuildScript in Flutter

BuildScript in Flutter


Thanks for being with us !!!

So, in this article, we have been through how to solve install Gradle issues in a flutter.

Do not forget to drop us your suggestion/feedback to serve you better.

Flutter Agency is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget GuideFlutter ProjectsCode libs and etc.

Flutter Agency is one of the most popular online portals dedicated to Flutter Technology. Daily thousands of unique visitors come to this portal to enhance their knowledge of Flutter.

Post a Comment