Skip to content
New issue

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

一个诡异的Android crash,com.company.xxx has not been registered. #1608

Open
ideago opened this issue Sep 30, 2019 · 2 comments
Open
Assignees
Labels
设备管理-控制 spec控制/profile控制/语音控制 设备管理-Wi-Fi设备 联网方式:WiFi、WiFi双模 Bug Native端app存在bug 需要修复

Comments

@ideago
Copy link

ideago commented Sep 30, 2019

是否为新品(必填)
在售

关联的产品model

roborock.vacuum.s5

项目ID(必填)
项目ID是指小米生态链部立项的项目ID,未在生态链部立项的项目填【无项目ID】

用户ID(必填)
很多用户,米家平台捕捉的crash,数据是由你们测试提供给我们的

企业名称(必填)
石头可及

环境(必填)

用户真机

现象(必填)
你们测试说我们的t6插件crash率不达标,我们分析了你们提供的crash log之后,解决了一部分;对其中 一个 crash 非常困惑,crash_log如下

page: <=MHDevice_roborock.vacuum.s5({\n\tmodel = roborock.vacuum.s5\n})<=MHFamilyMainViewController((null))\nApplication com.roborock.rubys has not been registered.\n\nHint: This error often happens when you're running the packager (local dev server) from a wrong folder. For example you have multiple apps and the packager is still running for the app you were working on before.\nIf this is the case, simply kill the old packager instance (e.g. close the packager terminal window) and start the packager in the correct app folder (e.g. cd into app folder and run 'npm start').\n\nThis error can also happen due to a require() error during initialization or failure to call AppRegistry.registerComponent.\n\n

This error often happens when you're running the packager (local dev server) from a wrong folder. For example you have multiple apps and the packager is still running for the app you were working on before.

这个crash,我们尝试查过很多资料也按照资料描述防堵修复了一些可能导致此crash的问题。但是上面的报错清晰地指出了一件事, the packager is still running for the app you were working on before.,你的rn packager还在运行之前的app,比如你先用了小米空气净化器的插件,然后你切换到我们扫地机的插件;但这时候rn packager还运行的是之前空气净化器的插件,这时候肯定就找不到我们扫地机插件的目录了。

期望(必填)
希望你们可以仔细排查下这个问题,因为我们这边开发始终没办法复现;请你们解决下或者在crash率问题上给我们刨除这部分crash

@MIoTBot
Copy link

MIoTBot commented Sep 30, 2019

@ideago 感谢您提出宝贵的 issue,我会通知开发尽快处理!以后推荐您到开发者平台提工单,有助于我们更加规范地管理问题,谢谢!

@ideago ideago changed the title 一个诡异的crash,com.company.xxx has not been registered. 一个诡异的Android crash,com.company.xxx has not been registered. Sep 30, 2019
@ideago
Copy link
Author

ideago commented Sep 30, 2019

针对我们的猜测,我们做了测试,在小米电视、净化器、扫地机之前切换使用了几次后,再进扫地机真的出现了 扩展程序加载失败的情况了;这时候是不是crash了呢?crash的原因就是此 issue所提及的

@zanetti4 zanetti4 added Bug Native端app存在bug 需要修复 设备管理-控制 spec控制/profile控制/语音控制 设备管理-Wi-Fi设备 联网方式:WiFi、WiFi双模 labels Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
设备管理-控制 spec控制/profile控制/语音控制 设备管理-Wi-Fi设备 联网方式:WiFi、WiFi双模 Bug Native端app存在bug 需要修复
Projects
None yet
Development

No branches or pull requests

4 participants