使用java.lang.RuntimeException启动时内置的android应用程序崩溃

时间:2019-02-06 11:16:59

标签: android react-native expo runtimeexception

我们的客户正在报告这些错误,我们无法重现。

Google Play控制台上的错误:

java.lang.RuntimeException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2981)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3042)
  at android.app.ActivityThread.-wrap14 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1639)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6780)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1500)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1390)
Caused by: java.lang.RuntimeException: 
  at host.exp.exponent.c.a.a (NativeModuleDepsProvider.java:108)
  at host.exp.exponent.c.a.b (NativeModuleDepsProvider.java:100)
  at host.exp.exponent.experience.a.onCreate (BaseExperienceActivity.java:83)
  at host.exp.exponent.experience.ExperienceActivity.onCreate (ExperienceActivity.java:160)
  at host.exp.exponent.experience.ShellAppActivity.onCreate (ShellAppActivity.java:23)
  at android.app.Activity.performCreate (Activity.java:6948)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1126)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2924)

崩溃在启动时发生。
该崩溃在Samsung Galaxy Tab S2 8.0 (gts28lte), Android 7.0上发生了13次。

一般信息:

  • 该应用是使用Expo的SDK 31构建的
  • apk是使用expo build:android --release-channel prod
  • 生成的

什么可能导致此崩溃?

如果我可以提供其他信息,请告诉我!

更新-2019-02-06:
React Native的start Activity onCreate方法:

路径:./node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactActivity.java

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    mDelegate.onCreate(savedInstanceState);
  }

0 个答案:

没有答案