SAAgent error on Samsung Gear 2 development

SAAgent error on Samsung Gear 2 development

BY 06 Jul 2014 Web Application Development

Hi, I’m programming an integrated app for samsung gear 2, but I have some issue. When i call the function  

webapis.sa.requestSAAgent(onsuccess, onerror);

I have an error on the console: “ONERROR: err [ServiceNotAvailableError] msg [Failed to register SAAgent.]”.

I follow this tutorial for the development for the Gear side: https://www.youtube.com/watch?v=QDqhvbDEO-I

I’ve already put the privilege: 

<tizen:privilege name="http://developer.samsung.com/privilege/accessoryprotocol"/>

But I’ve no idea of how I can fix this error. Anyone con help me? Thanks

Written by