这是Expo分离项目。它可以在调试模式下正常运行,但是释放模式会崩溃。
和logcat日志
AndroidRuntime:java.lang.RuntimeException:无法创建应用程序host.exp.exponent.MainApplication:java.lang.RuntimeException:NativeModuleDepsProvider找不到类class host.exp.exponent.p的对象
04-06 23:14:21.635 7295 7295 E AndroidRuntime:致命异常:main 04-06 23:14:21.635 7295 7295 E AndroidRuntime:进程:com.ciplak.zindertestsafak,PID:7295 04-06 23:14:21.635 7295 7295 E AndroidRuntime:java.lang.RuntimeException:无法创建应用程序host.exp.exponent.MainApplication:java.lang.RuntimeException:NativeModuleDepsProvider找不到类类host.exp.exponent的对象.p 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在android.app.ActivityThread.handleBindApplication(ActivityThread.java:5879) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在android.app.ActivityThread.-wrap3(ActivityThread.java) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1699) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:at android.os.Handler.dispatchMessage(Handler.java:102) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:at android.os.Looper.loop(Looper.java:154) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:位于android.app.ActivityThread.main(ActivityThread.java:6682) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:at java.lang.reflect.Method.invoke(本机方法) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:1520) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:由以下原因引起:java.lang.RuntimeException:NativeModuleDepsProvider找不到类类host.exp.exponent.p的对象 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在host.exp.exponent.c.a.b(NativeModuleDepsProvider.java:1108) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在host.exp.a.b.(Exponent.java:136) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在host.exp.a.b.a(Exponent.java:117) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在host.exp.exponent.l.onCreate(ExpoApplication.java:75) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:在android.app.ActivityThread.handleBindApplication(ActivityThread.java:5876) 04-06 23:14:21.635 7295 7295 E AndroidRuntime:...还有8个