我们的客户正在报告这些错误,我们无法重现。
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 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);
}