华为调用OnehopEngine SDK时遇到错误
当我探索华为Onehop引擎时。
HwOneHopSdk.getInstance().registerOneHop()
API返回-1返回代码(错误)。我已经配置了所有基本内容,如何解决问题?
While I am exploring Huawei OneHop engine.
HwOneHopSdk.getInstance().registerOneHop()
API returns -1 return code(error). I have configured all the basic things, how to resolve the issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请调用注册接口,可能是EMUI版本不是最新的。 OneHop Engine 需要 EMUI 10.1 或更高版本。
或者,检查所需的权限()是否已被授予,否则权限验证将失败。
请注意:两台设备均应为 EMUI 10.1 或更高版本,并且两端都必须安装应用程序。
Please call a registration API, the reason could be maybe EMUI version may not be up-to-date. OneHop Engine requires EMUI 10.1 or later.
Or, check that required permission () has been granted, otherwise, permission verification will fail.
Please Note: Both devices should be EMUI 10.1 or later and also application must be installed both the ends.