title: Failed to find 'ANDROID_HOME' environment variable. Try setting it manually. Failed to find 'android' command in your 'PATH'
body: <p>I set android home environment variable like this</p>
  
  <p>export ANDROID_HOME=/home/associate/Android/Sdk 
  export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools</p>
  
  <p>After run cordova requirements android --verbose it show </p>
  
  <p>Requirements check results for android:</p>
  
  <p>Java JDK: installed 1.8.0</p>
  
  <p>Android SDK: installed true
  Android target: installed android-29,android-28,android-27,android-26,android-25,android-24,android-23,android-22,android-21</p>
  
  <p>Gradle: installed /home/associate/android-studio/gradle-5.1/bin/gradle</p>
  
  <p>================ The error is ===============</p>
  
  <p>After run sudo cordova build android command from under a cordova project, it show </p>
  
  <p>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.</p>