After clicking on the Android Studio link to update Gradle, I get this Ubuntu Linux message:
The file '/home/anne/Downloads/builder-3.2.0-alpha04.jar' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the executable bit.
Then I had an error running attempting to run my Android app in Android Studio:
"Gradle project sync failed. Please fix your project and try again."
A search on Google found this page:
- Goto File -> Invalidate caches / Restart
- Shutdown Android Studio
- Rename/remove .gradle folder in the user home directory
- Restart Android Studio (It will download gradle metadata and data)
- Gradle build succeed
- Rebuild project. Done.
I just performed #1 and it worked, but read the full page of suggestions as there are a few to solve this problem including this one:
Resolution is simple. Open the "Android SDK Manager", update all packages and then restart your Android Studio. After that you project should compile without any issues.