How to resolve compiling error message "sync Gradle project failed. Please fix your problem and try again." in Android Studio?

In Android Studio, go in Tools > Android > SDK Manager and update all from the tabs “SDK Platforms” and “SDK Tools”

It’s a specific problem in Android Studio, and it’s hard to know all the solutions about problems from another software, but here are some links to some other users and the solutions they have found:

http://stackoverflow.com/questions/29808199/error-running-android-gradle-project-sync-failed-please-fix-your-project-and-t

http://stackoverflow.com/questions/24778598/error-running-myactivity-gradle-project-sync-failed-please-fix-your-project-an

It seems the second answer has fixed the problem for many users:
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 !

  • 0 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

Will I be able to update my app without a new publication process?

Yes. Your app is automatically updated with your new content, as well as new colors and new...

Why I can't compile my application in Xcode?

Verify you have installed the last IOS SDK. This is mandatory in to use Xcode correctly. You can...

How to resolve compiling error message "linker command failed with exit code 1 (use -v to see invocation)" in Xcode

You have to open the app in Xcode with the workspace file , and not the project file

How many times can I download the source code of an app?

You can publish and download the sources as many times as you need. You have absolutely no limit,...

Powered by WHMCompleteSolution