gradlew: Permission Denied

后端 未结 14 2285
闹比i
闹比i 2020-12-02 03:45

I am attempting to run gradlew from my command line, but am constantly facing the following error.

Brendas-MacBook-Pro:appx_android brendalogy$ ./gradlew com         


        
14条回答
  •  余生分开走
    2020-12-02 04:38

    You need to update the execution permission for gradlew

    Locally: chmod +x gradlew

    Git:

    git update-index --chmod=+x gradlew
    git add .
    git commit -m "Changing permission of gradlew"
    git push
    

    You should see:

    mode change 100644 => 100755 gradlew
    

提交回复
热议问题