The SDK directory does not exist (ubuntu 16.04) (react native) -
i trying run react native project on ubuntu 16.04 .
the $path correct according documentation.
when echo $path , following 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 shown when running react-native run-android :
* went wrong: problem occurred configuring project ':app'. > sdk directory '/root/android/sdk' not exist.
the /root directory has special permissions prevent react-native accessing it. should put android sdk in directory readable user (e.g. , /home/yash/android).
Comments
Post a Comment