Cannot deploy to Android emulator because licence not accepted


I’m not able to deploy to Android emulator because Tns return the error that Android licence “xyz” is not accepted. I’ve Visual Studio for Mac + Xamarin on the same machine and there are no problems to deploy with it and all licence are accepted.
I see that Android SDK Path is different for Vs and Nativescript ( see from PATH on console and I already launched sdkmanager from that path to accept the licences ). I try to deploy to a Android Emulator started from Visual Studio. May be this the problem? Ihave I to change the Android PATH to the same of Xamarin?