Reputation:
I have installed Android-SDK
in my ARC Linux
system.
but when run command tns run android
The ANDROID_HOME environment variable is not set or it points to a non-existent directory. You will not be able to perform any build-related operations for Android.
Please help. Thanks.
Upvotes: 0
Views: 97
Reputation: 1775
Add ANDROID_HOME and PATH in .profile file in $HOME directory as :
export ANDROID_HOME="path/to/android-sdk" export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
Then try add android as :
tns platform add android
For any doubt refer here : https://github.com/NativeScript/nativescript-cli/issues/1097 This is the original post in NativeScript Github page
Upvotes: 1