Build APP Error

1.53K views
0

Hi

I have install and run NG SERVE

Test on Navigator is partially okay (Call number button don’t work)

When I try to compile the APP

<code>ionic cordova build android --prod</code>

Il receive this Error Message

> cordova build android
Discovered plugin “mx.ferreyra.callnumber” in config.xml. Adding it to the project
Plugin “call-number” already installed on android.
Plugin “call-number” already installed on ios.
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.
[ERROR] An error occurred while running subprocess cordova.

cordova build android exited with exit code 1.

Re-running this command with the –verbose flag may provide more information.

Answered question
Sorry, you do not have permission to read comments.