After Updating Android Studio from 3.0 to 3.1 My project gradle syncing failed with the following error.
Gradle sync failed: Uninitialized object exists on
Android Studio: 3.5.3
gradle plugin: 3.5.3
gradle: 5.4.1
platform: Mac OS Mojave 10.14.6 (18G103)
I had done this:Project Structure -> SDK Location -> Select "Use embedded JDK(recommended)" but it still not working.
when I read this article,
you can add a property at gradle.properies:
org.gradle.java.home=(path to JDK home)
it works!