reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
217 stars 328 forks source link

0.72.11版本react native 安卓真机运行闪退 控制台没有任何报错,求助各位大佬!!! #802

Closed WesleyNiu closed 3 months ago

WesleyNiu commented 7 months ago

请按以下格式提供问题的相关信息。

使用最新版本的react native 0.73版本,运行官网的示例app,安卓真机运行出现闪退现象,控制台没有报错或者异常提示

运行adb logcat 得到如下的日志信息:

03-02 18:57:01.855 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 1. reason:!mustComposite 03-02 18:57:01.872 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 2. reason:!mustComposite 03-02 18:57:01.889 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 3. reason:!mustComposite 03-02 18:57:01.906 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 4. reason:!mustComposite 03-02 18:57:01.922 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 5. reason:!mustComposite 03-02 18:57:01.939 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 6. reason:!mustComposite 03-02 18:57:01.956 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 7. reason:!mustComposite 03-02 18:57:01.973 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 8. reason:!mustComposite 03-02 18:57:01.989 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 9. reason:!mustComposite 03-02 18:57:02.006 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 10. reason:!mustComposite 03-02 18:57:02.023 E/SurfaceFlinger( 1117): checkContinuousFrameMiss ADD 11. reason:!mustComposite 03-02 18:57:02.023 E/SurfaceFlinger( 1117): continuous frame pending.

jdk版本是 jdk17,SDK版本为33,Android Studio 官网最新客户端2023.3.1

sunnylqm commented 7 months ago

logcat没有抓到报错的部分,建议用as运行,然后用as自带的logcat面板查看

github-actions[bot] commented 3 months ago

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.