gradlew: Permission Denied

后端 未结 14 2248
闹比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:25

    I got the same error trying to execute flutter run on a mac. Apparently, in your flutter project, there is a file android/gradlew that is expected to be executable (and it wasn't). So in my case,

    chmod a+rx android/gradlew
    

    i used this command and execute the project

提交回复
热议问题