I\'ve installed NativeScript and I try to do tns platform add android but it doesn\'t work. ANDROID_HOME path is correct and I have installed SDK (API 22 and th
I solved this using the SDK manager in Android Studio, having already installed it previously, install all the requirements, namely
tools,platform-tools,android-25,build-tools-25.0.2,extra-android-m2repository,extra-google-m2repository,extra-android-support
Once installed change your ANDROID_HOME environment variable to point to this SDK manager. Typically, it will be at (/Users//Library/Android/sdk)
export ANDROID_HOME=/Users//Library/Android/sdk
Confirm that NativeScript detects your changes by running
tns doctor