Problem configuring cloud_firestore

1,435 views
Skip to first unread message

Souvik

unread,
Apr 15, 2020, 3:14:16 AM4/15/20
to flutt...@googlegroups.com

I am getting this error when I try to build my flutter app that has a cloud_firestore dependency. The version is the latest. This is the complete error. Please help.

 

 

FAILURE: Build failed with an exception.

 

* What went wrong:

A problem occurred configuring project ':cloud_firestore'.

> Could not resolve all artifacts for configuration ':cloud_firestore:classpath'.

   > Could not download guava-26.0-jre.jar (com.google.guava:guava:26.0-jre)

      > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/26.0-jre/guava-26.0-jre.jar'.

         > Read timed out

   > Could not download kotlin-reflect-1.3.11.jar (org.jetbrains.kotlin:kotlin-reflect:1.3.11)

      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.11/kotlin-reflect-1.3.11.jar'.

         > Connection reset

   > Could not download kotlin-stdlib-1.3.11.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.11)

      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.11/kotlin-stdlib-1.3.11.jar'.

         > Connection reset

> Failed to notify project evaluation listener.

   > Could not get unknown property 'android' for project ':cloud_firestore' of type org.gradle.api.Project.

   > Could not find method implementation() for arguments [project ':firebase_core'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

   > Could not find method implementation() for arguments [project ':cloud_firestore_web'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

 

* Get more help at https://help.gradle.org

 

BUILD FAILED in 14m 9s

Finished with error: Gradle task assembleDebug failed with exit code 1

 

Sent from Mail for Windows 10

 

Suzuki Tomohiro

unread,
Apr 15, 2020, 8:06:36 AM4/15/20
to flutt...@googlegroups.com
“Read time out” implies the network connectivity was unavailable. It’s usually temporary.

If you still see the error, would you share screenshot of your browser accessing the guava JAR file?


--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/5e96b43e.1c69fb81.b2c8.110d%40mx.google.com.

Souvik Dutta

unread,
Apr 15, 2020, 8:50:02 AM4/15/20
to Suzuki Tomohiro, Flutter Development (flutter-dev)

NAYRA HASHEM

unread,
Jun 7, 2020, 6:37:14 PM6/7/20
to Flutter Development (flutter-dev)
Hi, I saw your post and I get the same exact error! Can you please tell me how do you fix it??

It will be a big help, thanx in advance ..

----------------------------------------------------------------------

Souvik Dutta

unread,
Jun 7, 2020, 8:24:53 PM6/7/20
to NAYRA HASHEM, Flutter Development (flutter-dev)
Your internet connection is slow. Run the whole thing again with a stable internet.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages