February 28, 2018

cordova build android error spawn EACCES after Android Studio installation

After the installation of Android Studio I got this error during the ionic cordova build android process.
It looks like a chmod permission, Android Studio set permissions to gradle folder... I don't know why.
I solved it with this command:

sudo chmod 777 "/Applications/Android Studio.app/Contents/gradle/gradle-4.1/bin/gradle"

*Note the SPACE in Android Studio

No comments:

Post a Comment