Flutter Gradle [Error Fix]

Flutter Gradle Error Fix


//For Unix*

For ubuntu user like me.  First goto the Project level.

And then.. cd android/ 

Type Command    ./gradlew    in Terminal.

Wait a sec........

Finish....



//For Windows

Exception:Gradle task assembleDebug failed ith exitcode 1

Step: 1 :: Go to window partation first and 


C:\Users\user\.gradle\wrapper\dists


Step: 2 :: Delete all the gradle files.

Step: 3 :: Download gradle zip file and extract in this same location
                (the location where you deleted gradle files)
Takes around 300mb to download gradle file.
Now sync gradle file with android studio,if it suceeds, sure it will also run in flutter.

Comments

Popular Posts