0
votes

I tried to run my first flutter project but i keep getting this error.

FAILURE: Build failed with an exception.

BUILD FAILED in 20m 5s Exception: Gradle task assembleDebug failed with exit code 1


[Screenshot1

1

1 Answers

0
votes

I used free vpn proxy like hotspot shield.. For some reason i guess in your area those links are blocked unfortunately and unexpectedly.. like in my area.. so please use any free vpn and update your packages again..

If that problem still occurs then I think you are trying to create an android project in a flutter project.

Usually android studio shows a pop up box for that. Which you should not click okay..

if this is not the problem can you please clarify bit more? shuch from where you have get the project and what have you done before it was doing all the updates?