COMPILER ERROR: Android SDK not found.


#1

Help me please

COMPILER ERROR:

Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.

CORDOVA LOG:

e[36m20181222T232404 [DEBUG] AndroidBuilder -e[39m [prepare] cordova restore platforms
e[36m20181222T232404 [DEBUG] AndroidBuilder -e[39m [prepare] adding engine android@5.1.1
e[36m20181222T232415 [DEBUG] AndroidBuilder -e[39m [prepare] cordova restore plugins
e[36m20181222T232415 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin cordova-plugin-admob-simple@*
e[36m20181222T232415 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.usericon.android@1.0.0
e[36m20181222T232415 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.defaultres.android@1.0.0
e[36m20181222T232415 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.webviewplus.android@1.8.0
e[36m20181222T232415 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.webviewplus.ios@1.0.2
e[36m20181222T232416 [DEBUG] AndroidBuilder -e[39m [build]
Warning: File /.android/repositories.cfg could not be loaded.
e[36m20181222T232417 [DEBUG] AndroidBuilder -e[39m [build] create certs folder
e[36m20181222T232417 [DEBUG] AndroidBuilder -e[39m [build] keystore
e[36m20181222T232417 [DEBUG] AndroidBuilder -e[39m [build] create build.json
e[36m20181222T232417 [DEBUG] AndroidBuilder -e[39m [build] call cordova
e[91m20181222T232418 [ERROR] AndroidBuilder -e[39m { CordovaError: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
at /workspace/platforms/android/cordova/lib/check_reqs.js:45:27
at ChildProcess.exithandler (child_process.js:296:5)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
name: ‘CordovaError’,
message:
‘Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.’,
code: 0,
context: undefined }