提问人:ANewbieDeveloper 提问时间:10/26/2023 更新时间:10/26/2023 访问量:58
没有找到类“androidx.compose.ui.node.Owner” 哨兵
Didn't find class "androidx.compose.ui.node.Owner" Sentry
问:
当我升级 flutter & intl 时,我将 sentry 版本升级到 7.11
问题是现在我的应用程序无法启动,并且出现此错误:
D/Sentry (23065): Class not available:androidx.compose.ui.node.Owner
D/Sentry (23065): java.lang.ClassNotFoundException: androidx.compose.ui.node.Owner
D/Sentry (23065): at java.lang.Class.classForName(Native Method)
D/Sentry (23065): at java.lang.Class.forName(Class.java:536)
D/Sentry (23065): at java.lang.Class.forName(Class.java:467)
D/Sentry (23065): at io.sentry.android.core.LoadClass.loadClass(LoadClass.java:21)
D/Sentry (23065): at io.sentry.android.core.LoadClass.isClassAvailable(LoadClass.java:39)
D/Sentry (23065): at io.sentry.android.core.LoadClass.isClassAvailable(LoadClass.java:44)
D/Sentry (23065): at io.sentry.android.core.AndroidOptionsInitializer.initializeIntegrationsAndProcessors(AndroidOptionsInitializer.java:147)
D/Sentry (23065): at io.sentry.android.core.SentryAndroid.lambda$init$1(SentryAndroid.java:127)
D/Sentry (23065): at io.sentry.android.core.SentryAndroid$$ExternalSyntheticLambda0.configure(Unknown Source:8)
D/Sentry (23065): at io.sentry.Sentry.applyOptionsConfiguration(Sentry.java:176)
D/Sentry (23065): at io.sentry.Sentry.init(Sentry.java:146)
D/Sentry (23065): at io.sentry.android.core.SentryAndroid.init(SentryAndroid.java:89)
D/Sentry (23065): at io.sentry.android.core.SentryAndroid.init(SentryAndroid.java:70)
D/Sentry (23065): at io.sentry.flutter.SentryFlutterPlugin.initNativeSdk(SentryFlutterPlugin.kt:126)
D/Sentry (23065): at io.sentry.flutter.SentryFlutterPlugin.onMethodCall(SentryFlutterPlugin.kt:57)
D/Sentry (23065): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
D/Sentry (23065): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
D/Sentry (23065): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
D/Sentry (23065): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
D/Sentry (23065): at android.os.Handler.handleCallback(Handler.java:958)
D/Sentry (23065): at android.os.Handler.dispatchMessage(Handler.java:99)
D/Sentry (23065): at android.os.Looper.loopOnce(Looper.java:205)
D/Sentry (23065): at android.os.Looper.loop(Looper.java:294)
D/Sentry (23065): at android.app.ActivityThread.main(ActivityThread.java:8176)
D/Sentry (23065): at java.lang.reflect.Method.invoke(Native Method)
D/Sentry (23065): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
D/Sentry (23065): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
D/Sentry (23065): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.compose.ui.node.Owner" on path: DexPathList
有人遇到过这个错误或知道发生了什么吗?
答: 暂无答案
评论