mac zsh: command not found: gradlew

在mac下android studio 報zsh: command not found: gradlew 錯誤

原因:

1、gradlew沒有添加到系統環境變量中,在~/.bash_profile中添加gradlew變量

2、mac中執行指令添加./gradlew 找到本地項目的gradle 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章