React-Native Android应用程序在Runtme崩溃

时间:2018-07-12 17:07:10

标签: android reactjs react-native react-router react-redux

我的本​​机android应用程序在运行时崩溃,并出现以下stacktrace错误。

7-12 13:03:14.714 14231-14231/com.grabonrent.grabonrent E/AndroidRuntime: FATAL EXCEPTION: main
                                                                           Process: com.grabonrent.grabonrent, PID: 14231
                                                                           java.lang.RuntimeException: com.facebook.react.uimanager.IllegalViewOperationException: Trying to add unknown view tag: 84
                                                                            detail: View tag:1
                                                                             children(2): [
                                                                           82,83,
                                                                            ],
                                                                             viewsToAdd(1): [
                                                                           [2,84],
                                                                            ],

                                                                               at com.facebook.react.bridge.ReactContext.handleException(ReactContext.java:311)
                                                                               at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:31)
                                                                               at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:134)
                                                                               at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:105)
                                                                               at android.view.Choreographer$CallbackRecord.run(Choreographer.java:869)
                                                                               at android.view.Choreographer.doCallbacks(Choreographer.java:683)
                                                                               at android.view.Choreographer.doFrame(Choreographer.java:616)
                                                                               at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857)
                                                                               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:6077)
                                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

我无法理解什么是错误以及如何解决。请帮助我解决此错误

0 个答案:

没有答案