i was using gradle-8.1.1, but build was getting failed with below error. someone please help on this… i tried changing to different versions, still no luck. deleted gradlew and its properties and regenerated… still same error.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
The Gradle wrapper consists of four files. I asked whether you have the jar file of the four, because that missing is the typical cause for that error.
have not changed anything related to gradle files, till last friday it was working fine… build was success… from monday onwards, this error occurs… build is getting failed with this error.
i tried downgrade/upgrade the gradle versions for testing, but no luck
please tell where am i wrong.
docker image used : alvrme/alpine-android:android-33-jdk17
Yes, those four.
Well something must have changed obviously.
Maybe modify the gradlew script so that it outputs the commandline executed to see whether there is something fishy.