I give up on nativescript!
I´ve tried everything to develop a full app (even a small one) and I had so much pain and time lost. One was because it didn´t compiled correctly, afterwards came a problem with this and that.
After a lot of research on forums and google, I realized that people had a lot of problems too.
I think this platform isn´t yet ready, at least it´s not so linear as xamarin is.
Right now, my fustration is big, I just lost too much time trying.
Good luck for all of you struggling!