env: bash\r: No such file or directory

在Android Studio中执行:

./gradlew clean

报:env: bash\r: No such file or directory
解决方法:
进入项目目录执行下列命令即可:

brew install dos2unix
find . -type f -exec dos2unix {} \;

转:https://blog.csdn.net/weixin_42368597/article/details/117923851

你可能感兴趣的:(env: bash\r: No such file or directory)