Spawn EACCES mac


#1

Trying to run command - ionic cordova run android

And getting this error:

ANDROID_HOME=/Users/aditya/Library/Android/sdk

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home

studio

Subproject Path: CordovaLib

Subproject Path: app

spawn EACCES

Please help


#2

try running with sudo or as admin

Edit: use rapropos solution instead.


#3

and please provide more information.


#4

No, don’t use sudo. Use nvm instead.


#5

Fixed by adding android 6.4.0 version… I had android 7.1.1 version which I think it’s not supported by ionic.