Cant build for Android: EACCESS


#1

Running command: /Users/luco/Desktop/teste/hooks/after_prepare/010_add_platform_class.js /Users/luco/Desktop/teste
add to body class: platform-android
Running command: /Users/luco/Desktop/teste/hooks/after_prepare/020_remove_sass_from_platforms.js /Users/luco/Desktop/teste
ANDROID_HOME=/Users/luco/Library/Android/sdk
JAVA_HOME=/Library/Java/Home
Error: spawn EACCES

It looks like is something with JAVA_HOME. Already change it from jdk. Nothing works,


#2

Figured it out. It was permissions on SDK folder. Apply chown and chmod (777) on android sdk folder for prevent this error.