title: can't build cordova project, PATH error
body: <p>while running <code>cordova build</code> from my app directory i get following error</p>
  
  <p><code>[Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.
  Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.]
  ERROR building one of the platforms: Error: /home/shakir/Documents/myapp/platforms/android/cordova/build: Command failed with exit code 2
  You may not have the required environment or OS to build this project
  Error: /home/shakir/Documents/myapp/platforms/android/cordova/build: Command failed with exit code 2
      at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
      at ChildProcess.EventEmitter.emit (events.js:98:17)
      at maybeClose (child_process.js:743:16)
      at Process.ChildProcess._handle.onexit (child_process.js:810:5)
  </code></p>
  
  <p>I have set my <code>~/.profile</code> file as follows</p>
  
  <p><code>export ANDROID_HOME="/usr/local/android-sdk-linux"</code></p>
  
  <p><code>export ANDROID_PLATFORM_TOOLS="/usr/local/android-sdk-linux/platform-tools"</code></p>
  
  <p><code>export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_PLATFORM_TOOLS</code></p>
  
  <p>and <code>echo ANDROID_HOME</code> give following results </p>
  
  <p><code>/usr/local/android-sdk-linux</code> </p>
  
  <p>I am using Ubuntu 14.04. How to solve this issue and build cordova apps?</p>