You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/12/02 14:04:33 UTC

[GitHub] Songbird0 commented on issue #595: Update `getAbsoluteAndroidCmd` method

Songbird0 commented on issue #595: Update `getAbsoluteAndroidCmd` method
URL: https://github.com/apache/cordova-android/pull/595#issuecomment-443510049
 
 
   ```
   { CordovaError: Failed to find 'ANDROID_HOME' environment variable. Try setting it manually.
   Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
       at /home/travis/build/apache/cordova-android/bin/templates/cordova/lib/check_reqs.js:9:18722
       at _fulfilled (/home/travis/build/apache/cordova-android/node_modules/q/q.js:854:54)
       at self.promiseDispatch.done (/home/travis/build/apache/cordova-android/node_modules/q/q.js:883:30)
       at Promise.promise.promiseDispatch (/home/travis/build/apache/cordova-android/node_modules/q/q.js:816:13)
       at /home/travis/build/apache/cordova-android/node_modules/q/q.js:877:14
       at runSingle (/home/travis/build/apache/cordova-android/node_modules/q/q.js:137:13)
       at flush (/home/travis/build/apache/cordova-android/node_modules/q/q.js:125:13)
       at _combinedTickCallback (internal/process/next_tick.js:73:7)
       at process._tickCallback (internal/process/next_tick.js:104:9)
     name: 'CordovaError',
     message: 'Failed to find \'ANDROID_HOME\' environment variable. Try setting it manually.\nFailed to find \'android\' command in your \'PATH\'. Try update your \'PATH\' to include path to valid SDK directory.',
     code: 0,
     context: undefined }
   FF.....
   Failures:
   1) check_reqs check_android set ANDROID_HOME if not set if some Android tooling exists on the PATH should set ANDROID_HOME based on `android` command if command exists in a SDK-like directory structure
   ```
   
   Mh... doesn't sound good. Anyone have an idea of what tools use the  `android` command?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org