We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
步骤都是跟着文档走了,甚至代码都是直接copy了,AppConfig中替换了自己key,id。 然后MiotManager.getInstance().open() 就是绑定不成功,然后我把自己写的application替换了testapplication,demo是正常的。请问是不是漏了什么 环境: Android9.0 mijiaClient-3-3-14 日志 D/MiotManager: open D/MiotManager: start wait service connect E/MiotManager: bind service failed
The text was updated successfully, but these errors were encountered:
问题找到了,需要在自己的app中关联Gson包
Sorry, something went wrong.
这里sdk很老了,新的sdk链接:https://github.com/MiEcosystem/MiJiaConnectDemo 如果没有权限请参考链接: https://iot.mi.com/new/guide.html?file=06-%E7%8B%AC%E7%AB%8BAPP%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97/01-Android%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97/01-SDK%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E 参见最下面备注。
No branches or pull requests
步骤都是跟着文档走了,甚至代码都是直接copy了,AppConfig中替换了自己key,id。
然后MiotManager.getInstance().open() 就是绑定不成功,然后我把自己写的application替换了testapplication,demo是正常的。请问是不是漏了什么
环境:
Android9.0
mijiaClient-3-3-14
日志
D/MiotManager: open
D/MiotManager: start wait service connect
E/MiotManager: bind service failed
The text was updated successfully, but these errors were encountered: