我的 apk 文件构建成功,但应用程序崩溃了?

问题描述 投票:0回答:1

我的 apk 文件构建预览配置文件成功,apk 也安装成功,但无法打开

Error encounter in Logcat?
2024-08-29 15:41:29.865 10787-10787 SoLoader               com.myapp                 E  couldn't find DSO to load: libjscexecutor.so
                                                                                                        SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.myapp/lib-main flags = 1]
                                                                                                        SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/~~_652diqFaABY2QaYAeFXdg==/com.myapp-ufTb6i0nzRr6L6j7GA_zjw==/lib/x86_64 flags = 0]
                                                                                                        SoSource 2: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
                                                                                                        SoSource 3: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
                                                                                                        Native lib dir: /data/app/~~_652diqFaABY2QaYAeFXdg==/com.myapp-ufTb6i0nzRr6L6j7GA_zjw==/lib/x86_64
                                                                                                     result: 0

2024-08-29 15:41:30.213 10787-10836 ReactNativeJS           com.myapp                  E  Error: expo-updates is installed but there is no runtime or SDK version configured. You'll need to configure one of these two properties in AndroidManifest.xml before OTA updates will work properly., js engine: hermes
2024-08-29 15:41:30.216 10787-10837 AndroidRuntime          com.myapp                 E  FATAL EXCEPTION: mqt_native_modules
                                                                                                    Process: com.myapp, PID: 10787
                                                                                                    com.facebook.react.common.JavascriptException: Error: expo-updates is installed but there is no runtime or SDK version configured. You'll need to configure one of these two properties in AndroidManifest.xml before OTA updates will work properly., js engine: hermes, stack:
                                                                                                    anonymous@1:46724
                                                                                                    loadModuleImplementation@1:39172
                                                                                                    guardedLoadModule@1:38727
                                                                                                    metroRequire@1:38355
                                                                                                    anonymous@1:45841
                                                                                                    loadModuleImplementation@1:39172
                                                                                                    guardedLoadModule@1:38727
                                                                                                    metroRequire@1:38355
                                                                                                    anonymous@1:45529
                                                                                                    loadModuleImplementation@1:39172
                                                                                                    guardedLoadModule@1:38684
                                                                                                    metroRequire@1:38355
                                                                                                    global@1:37911
                                                                                                    
                                                                                                        at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:65)
                                                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                                                        at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
                                                                                                        at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
                                                                                                        at com.facebook.jni.NativeRunnable.run(Native Method)
                                                                                                        at android.os.Handler.handleCallback(Handler.java:942)
                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
                                                                                                        at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                        at android.os.Looper.loop(Looper.java:288)
                                                                                                        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
android typescript react-native android-studio android-emulator
1个回答
0
投票

这是我安装apk后遇到的错误错误屏幕

© www.soinside.com 2019 - 2024. All rights reserved.