-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ionic build android #280
Comments
Hey @sofiane8819 , are you already added platform android in your project folder with the command "ionic platform add android" ? |
Hello @iagocavalcante yes i did it, but still the same problem.. 192:fp sofianeabsi$ ionic platform add android Dependency warning - for the CLI to run correctly, Install ios-sim to deploy iOS applications. Running command: /Users/sofianeabsi/Desktop/fp/hooks/before_platform_add/init_directories.js /Users/sofianeabsi/Desktop/fp Adding android project... Creating Cordova project for the Android platform:
Subproject Path: CordovaLib Android project created with [email protected] Installing "cordova-plugin-console" for android Installing "cordova-plugin-device" for android Installing "cordova-plugin-splashscreen" for android Installing "cordova-plugin-statusbar" for android Installing "cordova-plugin-whitelist" for android
Installing "ionic-plugin-keyboard" for android Running command: /Users/sofianeabsi/Desktop/fp/hooks/after_prepare/010_add_platform_class.js /Users/sofianeabsi/Desktop/fp add to body class: platform-android Running command: /Users/sofianeabsi/Desktop/fp/hooks/after_prepare/020_remove_sass_from_platforms.js /Users/sofianeabsi/Desktop/fp Running command: /Users/sofianeabsi/Desktop/fp/hooks/after_platform_add/010_install_plugins.js /Users/sofianeabsi/Desktop/fp (node:924) DeprecationWarning: sys is deprecated. Use util instead. Plugin "cordova-plugin-device" already installed on android. (node:924) DeprecationWarning: util.puts is deprecated. Use console.log instead. Plugin "cordova-plugin-console" already installed on android. Plugin "ionic-plugin-keyboard" already installed on android. Plugin "cordova-plugin-whitelist" already installed on android. Plugin "cordova-plugin-statusbar" already installed on android. Plugin "cordova-plugin-splashscreen" already installed on android. 192:fp sofianeabsi$ ionic build android Dependency warning - for the CLI to run correctly, Install ios-sim to deploy iOS applications. Running command: /Users/sofianeabsi/Desktop/fp/hooks/after_prepare/010_add_platform_class.js /Users/sofianeabsi/Desktop/fp add to body class: platform-android Running command: /Users/sofianeabsi/Desktop/fp/hooks/after_prepare/020_remove_sass_from_platforms.js /Users/sofianeabsi/Desktop/fp ANDROID_HOME=/Users/sofianeabsi/Library/Android/sdk JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home Subproject Path: CordovaLib Error: spawn EACCES |
Try to execute the command with sudo permission! $sudo ionic build android |
Thank you so much it work now :) |
Hello everyone, i tried several times to create an app, but i had some problems cause i'm not a developer, i'm an ux designer.. so my problem when i tried to create the app i see this error ..
192:fp sofianeabsi$ ionic build android
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-sim to deploy iOS applications.npm install -g ios-sim (may require sudo)
Install ios-deploy to deploy iOS applications to devices. npm install -g ios-deploy (may require sudo)
Running command: /Users/sofianeabsi/desktop/fp/hooks/after_prepare/010_add_platform_class.js /Users/sofianeabsi/desktop/fp
add to body class: platform-android
Running command: /Users/sofianeabsi/desktop/fp/hooks/after_prepare/020_remove_sass_from_platforms.js /Users/sofianeabsi/desktop/fp
ANDROID_HOME=/Users/sofianeabsi/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
Subproject Path: CordovaLib
Error: spawn EACCES
so please can anyone could help me to solve it.. thanks for everyone
The text was updated successfully, but these errors were encountered: