I need your help.
I was studying Nativescript these past days. And now, I’ve managed to create an app using the tutorial and I’m currently trying to build it on an Android device to test. When I tried running it using
tns run ios, it runs smoothly on an ios emulator. But when I tried running
tns run android I got these error.
The plugin firstname.lastname@example.org is already installed TypeError: Path must be a string. Received undefined # run android
You need to have Android SDK 22 or later and the latest Android Support Repository installed on your system.
(when I tried to run several solutions like export android sdk, etc…)
I have several Android SDK installed (Please refer to the screenshot below)
I’ve validated if my Android SDK url is correct by running:
**which shows the ANDROID SDK files.
Lastly, here’s my configuration:
OS: Mac Sierra Version 10.12.5 NPM: 4.6.1 Node: v6.10.3 Nativescript: 3.0.3
What should I do? Please help.
Thank you in advance.