I do install android studio on ubuntu, and try to deploy to device an Ionic 3 app.
It fails saying no ANDROID_HOME was found :
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.
How can i discover where is Android Sdk installed ?
I know i can set using export ANDROID_HOME=/path/to/your/sdk, but i can not find it to set the path.
This is the error message: (node:3709) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): 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. (node:3709) [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. [23:47:02] lint finished in 4.30 s
I just add to ~/.bashrc : export ANDROID_HOME="$HOME/Android/Sdk" export PATH=$PATH:$ANDROID_HOME/tools
But still get the same error message, how can i check if the path is rigth?