crazecoder / flutter_bugly

腾讯Bugly flutter应用更新统计及异常上报插件,支持Android、iOS
Other
598 stars 163 forks source link

安卓:闪退崩溃日志不上报的吗? #72

Open qiuguian opened 4 years ago

qiuguian commented 4 years ago

闪退崩溃日志不上报的吗?我这都收不到,flutter异常就可以收到上报

qiuguian commented 4 years ago

我刚自己去写了个,可以在真机联调也可以获取上报的了,不用打包

crazecoder commented 4 years ago

现在是个什么情况呢?闪退上报吗?

qiuguian commented 4 years ago

就是安卓玩玩突然崩溃了,闪退了,这个情况,不是应该可以抓取到崩溃原因的吗

------------------ 原始邮件 ------------------ 发件人: "crazecoder"<notifications@github.com>; 发送时间: 2019年12月24日(星期二) 中午1:53 收件人: "crazecoder/flutter_bugly"<flutter_bugly@noreply.github.com>; 抄送: "Angehua"<137439824@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [crazecoder/flutter_bugly] 安卓:闪退崩溃日志不上报的吗? (#72)

现在是个什么情况呢?闪退上报吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

qiuguian commented 4 years ago

还有个问题就是,开发环境运行为什么会有报错输出?

efFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp; I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk"],nativeLibraryDirectories=[/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/lib/arm64, /data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64]] I/zygote64(16880): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880):
I/zygote64(16880): Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp; I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk"],nativeLibraryDirectories=[/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/lib/arm64, /data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64]] I/zygote64(16880): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880):
I/zygote64(16880): Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp; I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk"],nativeLibraryDirectories=[/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/lib/arm64, /data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64]] I/zygote64(16880): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQ

qiuguian commented 4 years ago

看看能不能修复下,开发环境起码不会报错,没上报都没事,先给你打个赞

crazecoder commented 4 years ago

还有个问题就是,开发环境运行为什么会有报错输出?

efFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp; I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk"],nativeLibraryDirectories=[/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/lib/arm64, /data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64]] I/zygote64(16880): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): I/zygote64(16880): Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp; I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk"],nativeLibraryDirectories=[/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/lib/arm64, /data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64]] I/zygote64(16880): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): I/zygote64(16880): Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp; I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:379) I/zygote64(16880): at void android.os.Looper.loop() (Looper.java:144) I/zygote64(16880): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7529) I/zygote64(16880): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64(16880): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245) I/zygote64(16880): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921) I/zygote64(16880): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk"],nativeLibraryDirectories=[/data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/lib/arm64, /data/app/com.video.video_client_001-Vo9mGw-ubKLrS6QNwWy5-A==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64]] I/zygote64(16880): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64(16880): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64(16880): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote64(16880): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote64(16880): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote64(16880): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote64(16880): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote64(16880): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222) I/zygote64(16880): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96) I/zygote64(16880): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656) I/zygote64(16880): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote64(16880): at android.os.Message android.os.MessageQueue.next() (MessageQ

这个没集成热更新都会报,不影响

crazecoder commented 4 years ago

就是安卓玩玩突然崩溃了,闪退了,这个情况,不是应该可以抓取到崩溃原因的吗 ------------------ 原始邮件 ------------------ 发件人: "crazecoder"<notifications@github.com>; 发送时间: 2019年12月24日(星期二) 中午1:53 收件人: "crazecoder/flutter_bugly"<flutter_bugly@noreply.github.com>; 抄送: "Angehua"<137439824@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [crazecoder/flutter_bugly] 安卓:闪退崩溃日志不上报的吗? (#72) 现在是个什么情况呢?闪退上报吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

这个情况没遇到过,最好是有log日志可以分析一下

laorencel commented 4 years ago

看看能不能修复下,开发环境起码不会报错,没上报都没事,先给你打个赞

我的正式环境也有这个异常,一摸一样,而且启动app就白屏了

crazecoder commented 3 years ago

闪退情况下,看bugly的机制,部分情况下的确不会上报,尤其anr的情况下

laorencel commented 3 years ago

试试 getIntent().putExtra("enable-software-rendering", true),在android的MainActivity的onCreate方法(super方法前)添加,如果可以,或许会引发另一个问题,看我之前提的issue:https://github.com/flutter/flutter/issues/66769,我就是这样解决的。(仅供参考,如果不是,当我没说