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.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x