I am trying to run react native project on Ubuntu 16.04 .
The $PATH is correct according to the documentation.
when I echo $PATH
, following is shown :
/home/yash/bin:/home/yash/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/yash/.config/composer/vendor/bin:/home/yash/.config/composer/vendor/bin:/root/Android/Sdk/tools:/root/Android/Sdk/platform-tools
The error is shown when running react-native run-android
:
* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory '/root/Android/Sdk' does not exist.