Skip to content

Command ./gradlew assembleDebug is not working #26

@ferreirabraga

Description

@ferreirabraga

I follow the simple steps informed in the README file when I executed the command

./gradlew assembleDebug

I'm getting the follow error

Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

I've seached at IA and its says:

Check for the required wrapper files:

ls -l gradlew
ls -l gradle/wrapper/

Expected output:

gradlew: Should exist and be executable (e.g., -rwxr-xr-x).
gradle/wrapper/: Should contain gradle-wrapper.jar and gradle-wrapper.properties.

In my case, the item 1 is ok, but in the item 2 inside the folder gradle/wrapper/ I find only the gradle-wrapper.properties
Should contain gradle-wrapper.jar as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions