Unable to run gradlew

前端 未结 1 1839
暖寄归人
暖寄归人 2021-02-19 05:37

I\'ve setup a build.gradle file with apply plugin: \'java\'. I tried setting up a gradle wrapper using the instructions here, but when I type sud

相关标签:
1条回答
  • 2021-02-19 06:14

    Ok so the solution was to run gradlew on the Linux partition itself. Somehow, when I ran it from a Windows partition mounted in Linux, the file couldn't get execute permissions even though I ran chmod 777 gradlew. When I copied the project into the Linux filesystem and ran it, it worked fine (after setting execute permission for it).

    0 讨论(0)
提交回复
热议问题