Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory

i`m using ionic cordova run android -l , but error i get. Why?

Android Studio project detected

(node:1356) UnhandledPromiseRejectionWarning: 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 C:\Users\Acer\test\platforms\android\cordova\lib\check_reqs.js:305:19
    at _fulfilled (C:\Users\Acer\test\platforms\android\cordova\node_modules\q\q.js:854:54)
    at self.promiseDispatch.done (C:\Users\Acer\test\platforms\android\cordova\node_modules\q\q.js:883:30)
    at Promise.promise.promiseDispatch (C:\Users\Acer\test\platforms\android\cordova\node_modules\q\q.js:816:13)
    at C:\Users\Acer\test\platforms\android\cordova\node_modules\q\q.js:877:14
    at runSingle (C:\Users\Acer\test\platforms\android\cordova\node_modules\q\q.js:137:13)
    at flush (C:\Users\Acer\test\platforms\android\cordova\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:132:7)
    at process._tickCallback (internal/process/next_tick.js:181:9)
    at Function.Module.runMain (module.js:696:11)
(node:1356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1356) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.