Skip to content Skip to sidebar Skip to footer

Failed To Find 'android_home' Environment Variable. Failed To Find 'android' Command In Your 'path'

I'm trying to build the default Hello World phonegap project for android on my ubuntu system, but I am confronted by errors at every step. SHORT VERSION: I cannot create a phone

Solution 1:

This is documented in their JIRA: https://issues.apache.org/jira/browse/CB-10062

Check the ownership of the file using:

ls -al /home/gregory/.config/configstore/update-notifier-cordova.json

If it is root, you may want to try reinstalling cordova - otherwise use the workaround suggested by running:

chmod 744 /home/gregory/.config/configstore/update-notifier-cordova.json

Post a Comment for "Failed To Find 'android_home' Environment Variable. Failed To Find 'android' Command In Your 'path'"