Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 0.8.2 "Gradle project sync failed."

I'm completely new to android studio. Installed it plus all the skd packages the installation guide told me to. I've been trying a couple of things for the past two weeks now with no success. Can someone direct me to a solution or where more detailed error messages are found?

Im receiving this error message from the "Messages Gradle Sync" Panel: "Error:(1, 0) Cause: com.google.common.collect.Sets"

edit : I have ubuntu installed on this computer aswell and I decided to install android studio on it. Its woking there so I guess I'll work from it until studio gets a fix or I find one.

like image 349
Duchain Avatar asked Jun 10 '26 16:06

Duchain


1 Answers

  1. Uncheck "Offline work" in File>Settings>Gradle>Global Gradle Settings
  2. Resync the project, for example by restarting the Android Studio.
  3. Once synced, you can check the option again to work offline
  4. Update java if Android L SDK installed
like image 123
Anshu Kumar Gupta Avatar answered Jun 12 '26 06:06

Anshu Kumar Gupta