i was looking for answer to this question and found this Cannot find a compatible Android SDK for compilation when running `tns platform add android` But none of the answers helped me, it still throws error. Here is what i'm doing:
- Installed chocolatey
- installed everything like in tutorial
- Cloned sample project and so on
- Trying to "tns platform add android" and got
Cannot find a compatible Android SDK for compilation. To be able to build for Android, install Android SDK 22 or later.
My setup is Windows7 x32, and it's my first time to try nativescript (which looks really powerful at the sample video), and i'm really interested in it, can someone help me with this problem?