I found a lot of solutions but they didn’t help me. I defined variables in /home/username/.zshrc And variables were defined because: Also command below works fine: I try to build a project Answer In tried many files with env variable for my linux In manjaro linux it needs to write env variables only in file: /etc/environment So cordova works well
Tag: cordova
Cordova can’t find ANDROID_HOME or android in my PATH although they are there
I set up ANDROID_HOME to my android installation dir as well as adding $ANDROID_HOME/platform-tools and $ANDROID_HOME/tools to my PATH. When adding the android platform to my project, cordova seems to find android as it needs to run “android update project …..” for doing so but when I’m trying to run “cordova run android” it results in the following error: It
[Error: Failed to find ‘ANDROID_HOME’ environment variable. Try setting setting it manually
Im using Cordova in Linux mint 17 I installed android sdk , cordova , android studio , nodejs 4 problem is here when i wanna build app in codova and run this on terminal : sudo cordova build android it shows I put this code on my but it wont works Answer I don’t think its necessary to add everything
How to run Ionic serve permanently?
I am using Ionic framework for one application. The code is on a linux server. I am running the application using ionic serve command through putty. But, the problem is if I close the putty the application is stopped. Is there any way to run the ionic serve permanently as a daemon process? Answer I’m suspecting you’re trying to do