gradlew command not found?

后端 未结 14 1966
花落未央
花落未央 2020-12-12 17:38

I am working on a Java project with gradlew. I use Ubuntu Linux as my OS. When I run \"gradle\" it runs, and gives me info. But when I run \"gradlew\", it outputs as \"No co

14条回答
  •  盖世英雄少女心
    2020-12-12 18:15

    For Ubuntu(linux) users: doing "bash ./gradlew build " works but "./gradlew build " doesnot work.

    For me the issue was it was on NTFS file system, linux does not let execute a script from NTFS. Try moving the code from NTFS to a linux partition. then ./gradlew build should work

提交回复
热议问题