2

当我从使用 jenkins 构建的 codepush 运行相同的应用程序时,它总是在执行一组特定操作后崩溃。但是,当我尝试通过 Android Studio/Xcode、emu 或手机本地构建来调试同一个应用程序时,不会发生同样的错误。

这是我在运行从 bitly 下载的版本时从 android studio 得到的错误

08-01 12:27:11.980 1103-1119/? I/WindowManager: addWindow: window=Window{266f386 u0 
Application Error: com.driverapp.dev}
08-01 12:27:11.980 1103-1124/? I/WindowManager: Focus moving from null to Window{266f386 u0 
Application Error: com.driverapp.dev}
08-01 12:27:11.980 1103-1124/? I/WindowManager: Gaining focus: Window{266f386 u0 Application 
Error: com.driverapp.dev}
08-01 12:27:11.987 9010-9010/? D/ActivityThread: ACT-AM_ON_PAUSE_CALLED 
ActivityRecord{3894976 token=android.os.BinderProxy@d1a6b77 
{com.driverapp.dev/com.driverapp.MainActivity}}
08-01 12:27:11.991 5344-5344/? D/CrashHandler-UserSubmitReceiver: description: Process: 
com.driverapp.dev
          Flags: 0x38c8be44
          Package: com.driverapp.dev v32 (1.1.28)
          Build: LeEco/Le2_CN1/le_x6:6.0/

          com.facebook.react.common.JavascriptException: undefined is not an object (evaluating 'f.seed'), stack:
          <unknown>@939:615
          a@2:850
          <unknown>@2:392
          t@2:399
          <unknown>@938:43
          a@2:850
          <unknown>@2:322
          t@2:399
          @934:4748
          value@934:4993
           ......

           at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:56)
           at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:40)
           at java.lang.reflect.Method.invoke(Native Method)
           at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:374)
           at com.facebook.
08-01 12:27:11.992 5344-5344/? D/CrashHandler-MatcherString: match1: name: sh  >>> sh 
<<<|match2: signal 13 \(SIGPIPE\)|description: Process: com.driverapp.dev
                                                         Flags: 0x38c8be44
                                                         Package: com.driverapp.dev v32 (1.1.28)
                                                         Build: LeEco/Le2_CN1/le_x6:6.0/

我无法弄清楚错误是什么。很感谢任何形式的帮助。

4

0 回答 0