I already set these variables:
echo $ANDROID_HOME => /usr/local/android-sdk-linux
echo $PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools
But this same error remains when I execute "cordova build android" or "cordova run android --device":
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
Do you have any ideas why?
Thanks