Questions
Appears when Travis CI is compiled
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Wrong
The detailed error log is as follows:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
The command "eval ./gradlew assemble " failed. Retrying, 2 of 3.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
The command "eval ./gradlew assemble " failed. Retrying, 3 of 3.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
The command "eval ./gradlew assemble " failed 3 times.
The command "./gradlew assemble" failed and exited with 1 during .
Your build has been stopped.
Solutions
See if the gradle folder in your submitted code has been submitted
If you don’t submit this folder, you need to submit the gradle in the source code to the code base
Similar Posts:
- [Soloved] Gradle sync failed: Failed to open zip file
- Error:Failed to open zip file. Gradle‘s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
- [Solved] SVN commit Error: is scheduled for addition, but is missing
- AndroidStudio Error: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ‘:app:proces
- Plugin is too old, please update to a more recent
- The Android compiler appears execution failed for task ‘: app:processDebugResources ‘.
- Could not find tools.jar when build gradle project
- SVN Commit Error: is scheduled for addition, but is missing
- Android — problem — Open someone else’s program and report an error
- How to Solve IDEA Error: “Library source does not match the bytecode for class”