No Connection To Gradle Server && The Gradle Client Was Unable To Connect in Visual Studio Code

Posted by

Error:

No connection to gradle server. Try restarting the server.

Solution:

  1. Go to the Windows search bar.
  2. Type “Edit the System Environment Variables”.
  3. In the “Adavance” tab click “Environment Variables”.
  4. Go to “System Variables”.
  5. Check if you have made an option for “JAVA_HOME”.
  6. If there is no “JAVA_HOME”. Click “New” and provide the name “JAVA_HOME” then save it.
  7. Click “Edit” and enter the path of your JDK.

Leave a Reply

0
Would love your thoughts, please comment.x
()
x