Skip to content

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

@ideago

Description

@ideago

是否为新品(必填)
在售

关联的产品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

Metadata

Metadata

Labels

BugNative端app存在bug 需要修复设备管理-Wi-Fi设备联网方式:WiFi、WiFi双模设备管理-控制spec控制/profile控制/语音控制

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions