如何诊断android崩溃报告

时间:2017-09-19 07:51:47

标签: android react-native

我最近将我的第一个本机反应原始Android应用程序上传到谷歌游戏商店,我的谷歌开发者控制台中有很多这些崩溃报告。它们来自许多不同的设备型号,我无法在自己的设备或模拟器上重现任何崩溃。我知道在哪里可以解决它吗?任何帮助解决这个问题都将非常感谢!

com.facebook.react.bridge.JSApplicationIllegalArgumentException: 
  at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp (ViewManagersPropertyCache.java:95)
  at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.setProperty (ViewManagerPropertyUpdater.java:129)
  at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps (ViewManagerPropertyUpdater.java:48)
  at com.facebook.react.uimanager.ViewManager.updateProperties (ViewManager.java:36)
  at com.facebook.react.uimanager.NativeViewHierarchyManager.createView (NativeViewHierarchyManager.java:227)
  at com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute (UIViewOperationQueue.java:150)
  at com.facebook.react.uimanager.UIViewOperationQueue$1.run (UIViewOperationQueue.java:770)
  at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches (UIViewOperationQueue.java:855)
  at com.facebook.react.uimanager.UIViewOperationQueue.access$1600 (UIViewOperationQueue.java:46)
  at com.facebook.react.uimanager.UIViewOperationQueue$2.runGuarded (UIViewOperationQueue.java:813)
  at com.facebook.react.bridge.GuardedRunnable.run (GuardedRunnable.java:21)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6776)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)
Caused by: java.lang.reflect.InvocationTargetException: 
  at java.lang.reflect.Method.invoke (Native Method)
  at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp (ViewManagersPropertyCache.java:83)

2 个答案:

答案 0 :(得分:0)

我认为您不需要在自己的设备或模拟器上重现任何崩溃。您只需通过查看崩溃报告工具中的自定义日志来获取报告的崩溃,并尝试通过这些信息进行修复。

答案 1 :(得分:0)

对于崩溃重现,我喜欢Appsee。多亏了他们提供的崩溃的会议录音,我节省了大量的时间和金钱。由于记录的详细程度,我可以捕获单个用户发生的崩溃问题,并迅速解决该问题。

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    Appsee.start() 
    return true
}
相关问题