我的客户之一突然正面临应用程序崩溃问题。直到昨天一直运行良好。但是今天打开时,一旦完成屏幕加载,它就会崩溃。它仅在一台设备( Redmi Y2 )中发生。应用程序已卸载,并从 PlayStore 新安装,但没有用。
App在设备 Honor 9n 中都可以很好地合作,并且无法调试问题,因为我没有发生应用程序崩溃的情况。
到目前为止我的分析:
我可以在执行 java脚本
代码之前确认 app
已崩溃。我通过在他的手机中运行示例 apk
来检查此(我邮寄了他的test apk
链接)。由于我是 react-native-native
开发人员,我无法检查本机 side的本机方面发生的事情。
是否可以使用 react-native-codepush appcenter-analytics ?
还是
有任何解决方法可以找到 app
崩溃的根本原因?
One of my customers is facing App crash issue suddenly. It was working well till yesterday. But when opened today it crashed as soon as splash screen loading is completed. It's happening in only one device(Redmi Y2). App was uninstalled and newly installed from Playstore but no use.
App is working well with in device Honor 9N and unable to debug the issue since i don't have Redmi Y2 where App crash is happening.
My Analysis as of now:
I can confirm that App
is crashed before executing the Java Script
code. I checked this by running sample apk
in his mobile(I mailed him test apk
link). I could not check what's happening form native Android
side since I am a react-native
developer.
Is it possible to see crash logs by using react-native-codepush appcenter-analytics?
OR
Is there any workaround to find the root cause of the App
crash?
发布评论
评论(2)
Also you could try to integrate Crashlytics into您的应用程序。它是免费的,会向您发送有关应用程序中任何崩溃和挂断的详细信息。
Also you could try to integrate Crashlytics into your app. It is free and will send you detailed information about any crashes and hang-ups in your app.
您应该能够从AppCenter Analytics获取数据。
找到根本原因 - >如果您的客户可以为您提供帮助,并使用安装Android Studio的PC连接设备(已启用开发选项),则可以准确地看到LogCat中发生的一切。
You should be able to get data from the AppCenter Analytics. https://learn.microsoft.com/en-us/appcenter/sdk/crashes/react-native
An idea to find the root cause -> If your customer can assist you and connect the device (with dev options enabled) to a PC with Android Studio installed you can see exactly what's crashing from the Logcat.