AAOS调试踩坑Native registration unable to find class ‘com/android/internal/os/RuntimeInit‘; aborting..

Posted 小B伏枥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AAOS调试踩坑Native registration unable to find class ‘com/android/internal/os/RuntimeInit‘; aborting..相关的知识,希望对你有一定的参考价值。

写在前面:

本系列博文主要枚举在开发androidAutomotiveOS过程中遇到的各种问题,比如不开机,重启,WTD,Panic等。

 

问题描述:编译frameworks/base/core,并push到手机重启后,无法开机,卡开机动画;

初步分析:system_server无法启动,发生tombstone,提示Abort message: \'Native registration unable to find class \'com/android/internal/os/RuntimeInit\'; aborting...\'

log详情:

pid: 18226, tid: 18226, name: main  >>> zygote64 <<<
uid: 0
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: \'Native registration unable to find class \'com/android/internal/os/RuntimeInit\'; aborting...\'
    x0  0000000000000000  x1  0000000000004732  x2  0000000000000006  x3  0000007fc06c6db0
    x4  406c4f96ff6f6b64  x5  406c4f96ff6f6b64  x6  406c4f96ff6f6b64  x7  7f7f7fff7f7f7f7f
    x8  00000000000000f0  x9  ad541d5b337334c6  x10 0000000000000001  x11 0000

以上是关于AAOS调试踩坑Native registration unable to find class ‘com/android/internal/os/RuntimeInit‘; aborting..的主要内容,如果未能解决你的问题,请参考以下文章

react-native持续踩坑总结

react native新建项目踩坑记录

React Native 环境搭建踩坑

React – Native 踩坑记

react-native 踩坑记

React-Native踩坑记录二