fred9
September 3, 2016, 9:46am
1
I want to debug my App on a real Android device. I’m on OSX.
Getting really frustrating to move forward
updated to the latest Ionic CLI,
added paths in bash_profile for Android Studio,
chmod hooks/after_prepare/010_add_platform_class.js, …
What can I do?
Thanks
Fred
full error:
Running command: /Users/Main/Apps/urge/hooks/after_prepare/010_add_platform_class.js /Users/Main/Apps/urge
add to body class: platform-android
ANDROID_HOME=/Users/Main/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
Error: spawn EACCES
fred9
September 3, 2016, 10:05pm
2
[solved] Had to install a different version of a build target in Android Studio.
tobika
September 26, 2016, 12:00pm
3
[solved ]UPDATE: after reinstalling the sdk the error disappeared, so seems something was broken there
Could you tell me which version you installed, it seems to target android-23 which I have installed
Tried a lot and nothing seems to work. I even have the same error when running the command as root.
Running command: /home/tobika/Documents/poocountv2/hooks/after_prepare/010_add_platform_class.js /home/xxx/Documents/xxx
add to body class: platform-android
Running command: /home/xxx/Documents/xxx/hooks/after_prepare/020_remove_sass_from_platforms.js /home/xxx/Documents/xxx
ANDROID_HOME=/home/xxx/Downloads/adt-bundle-linux-x86_64/sdk
JAVA_HOME=/home/xxx/Downloads/jdk1.8.0_91
Error: spawn EACCES
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.1.0-beta.2
Ionic App Lib Version: 2.1.0-beta.1
OS: Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS
Node Version: v4.5.0