Every time I try to start a Desktop project in Android Studio, I immediately get the following error:
Error:com.android.tools.idea.gradle.util.Projects.lastGradleSyncFailed(Lcom/intellij/openapi/project/Project;)Z
No gradle builds or any synchronization occurs. Android Studio just jumps straight to this error.
I have reloaded / invalid caches, I deleted my .gradle folder both in project and at home, I reinstalled Android studio, I created a new project, but still get the same error.
When I start the gradle construct manually, the build succeeds. I can even run an Android project without any problems. This is just a desktop project that is causing me problems.
Any suggestions would be highly appreciated.
I am using the latest version of android gradle (2.3.0) and my JDK is the correct version (1.8).
I get this error after upgrading to Android Studio 2.3.
To clarify, gradle build / sync completes SUCCESSFULLY.
java android android-studio gradle libgdx
grimrader22
source share