I fixed this problem with:
chmod 755 android/gradlew
the chmod command sets the permissions of files or directories. https://www.computerhope.com/unix/uchmod.htm
I think it's permission issue I faced this problem before, you can resolve it by changing the permission, run the following command
chmod 755 android/gradlew
I tried the above solution.but in my case I had to use sudo because of the permission issue. You can resolve it by running the command
sudo chmod 755 android/gradlew
For mac this worked for me.
sudo chmod 755 android/gradlew
For Big Sur (Apple MacBook Air M1 Chip)
chmod 755 android/gradlew
worked
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With