android studio 0.4.2: Gradle project sync failed error

I’m assuming I can answer my own question….
This worked for me.

  1. File -> Invalidate caches / Restart
  2. Shutdown Android Studio
  3. Rename/remove .gradle folder in the user home directory
  4. Restart Android Studio let it download all the Gradle stuff it needs
  5. Gradle build success !
  6. Rebuild project…. success !

Out of curiousity I compared the structure of the old .gradle and the new one… they were pretty different !

So I’ll see how 0.4.2 goes 🙂

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)