Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

gradle threw an error while downloading artifacts from the network. retrying to download

Do follow some steps:

Go to flutter_app => android => gradle => wrapper directory
Delete gradle-wrapper.jar file
Open and edit gradle-wrapper.properties file
Change distributionUrl=https://services.gradle.org/distributions/gradle-x.x.x-all.zip to gradle-6.4.1-all.zip or latest
On terminal use flutter run command
I solved my issue, hopefully yours
 
PREVIOUS NEXT
Tagged: #gradle #threw #error #downloading #artifacts #retrying #download
ADD COMMENT
Topic
Name
6+2 =