Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Hello,

After updating the appium server to 1.17.1, I’m getting error cannot load the main Gradle wrapper. I assume the error cause of the espresso server created a folder is in /var/folders with folder name is espresso-server-192.168.57.115:5555.

If I rename the folder into espresso-server only, it is working fine and able to build the espresso server manually.

When I downgrade the appium version into 1.16.0, it’s working fine too.
Many thanks in advance.

This bug is known and was fixed in [email protected]