Comments (7)
https://github.com/crazecoder/open_file/blob/master/README.md
from flutter_bugly.
按报错添加对应代码
from flutter_bugly.
@crazecoder 我觉得最好从库这边升级比较好 因为更多的用户都会用AndroidX都会遇到和我一样的问题
from flutter_bugly.
这个错和androidx没关系
from flutter_bugly.
@crazecoder 能给个修改的示例吗 不好意思对Android不是代码不是很熟悉 我尝试了几次都失败了
from flutter_bugly.
@crazecoder 非常感谢,已经成功的跑起来了,不过有一些异常
I/zygote ( 7135): Rejecting re-init on previously-failed class java.lang.Class<com.tencent.bugly.beta.tinker.TinkerLogger>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp;
I/zygote ( 7135): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79)
I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479)
I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594)
I/zygote ( 7135): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170)
I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63)
I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37)
I/zygote ( 7135): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94)
I/zygote ( 7135): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote ( 7135): at void io.flutter.view.FlutterNativeView$PlatformMessageHandlerImpl.handleMessageFromDart(java.lang.String, byte[], int) (FlutterNativeView.java:188)
I/zygote ( 7135): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:202)
I/zygote ( 7135): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote ( 7135): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote ( 7135): at void android.os.Looper.loop() (Looper.java:142)
I/zygote ( 7135): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote ( 7135): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote ( 7135): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote ( 7135): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote ( 7135): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/im.weshine.haipei-16Ei6B-gdtv5TfJoeKa-AQ==/base.apk"],nativeLibraryDirectories=[/data/app/im.weshine.haipei-16Ei6B-gdtv5TfJoeKa-AQ==/lib/x86, /data/app/im.weshine.haipei-16Ei6B-gdtv5TfJoeKa-AQ==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote ( 7135): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote ( 7135): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote ( 7135): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote ( 7135): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79)
I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479)
I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594)
I/zygote ( 7135): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170)
I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63)
I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37)
I/zygote ( 7135): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94)
I/zygote ( 7135): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote ( 7135): at void io.flutter.view.FlutterNativeView$PlatformMessageHandlerImpl.handleMessageFromDart(java.lang.String, byte[], int) (FlutterNativeView.java:188)
I/zygote ( 7135): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:202)
I/zygote ( 7135): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote ( 7135): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote ( 7135): at void android.os.Looper.loop() (Looper.java:142)
I/zygote ( 7135): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote ( 7135): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote ( 7135): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote ( 7135): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
from flutter_bugly.
@crazecoder 非常感谢,已经成功的跑起来了,不过有一些异常
I/zygote ( 7135): Rejecting re-init on previously-failed class java.lang.Class<com.tencent.bugly.beta.tinker.TinkerLogger>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog$TinkerLogImp; I/zygote ( 7135): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote ( 7135): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote ( 7135): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote ( 7135): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201) I/zygote ( 7135): at void io.flutter.view.FlutterNativeView$PlatformMessageHandlerImpl.handleMessageFromDart(java.lang.String, byte[], int) (FlutterNativeView.java:188) I/zygote ( 7135): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:202) I/zygote ( 7135): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote ( 7135): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325) I/zygote ( 7135): at void android.os.Looper.loop() (Looper.java:142) I/zygote ( 7135): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541) I/zygote ( 7135): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote ( 7135): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240) I/zygote ( 7135): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767) I/zygote ( 7135): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog$TinkerLogImp" on path: DexPathList[[zip file "/data/app/im.weshine.haipei-16Ei6B-gdtv5TfJoeKa-AQ==/base.apk"],nativeLibraryDirectories=[/data/app/im.weshine.haipei-16Ei6B-gdtv5TfJoeKa-AQ==/lib/x86, /data/app/im.weshine.haipei-16Ei6B-gdtv5TfJoeKa-AQ==/base.apk!/lib/x86, /system/lib, /vendor/lib]] I/zygote ( 7135): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93) I/zygote ( 7135): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote ( 7135): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote ( 7135): at void com.tencent.bugly.beta.tinker.TinkerManager.setPatchRestartOnScreenOff(boolean) (BUGLY:79) I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean) (BUGLY:479) I/zygote ( 7135): at void com.tencent.bugly.beta.Beta.init(android.content.Context, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:594) I/zygote ( 7135): at void com.tencent.bugly.b.a(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:170) I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean, com.tencent.bugly.BuglyStrategy) (BUGLY:63) I/zygote ( 7135): at void com.tencent.bugly.Bugly.init(android.content.Context, java.lang.String, boolean) (BUGLY:37) I/zygote ( 7135): at void com.crazecoder.flutterbugly.FlutterBuglyPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterBuglyPlugin.java:94) I/zygote ( 7135): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201) I/zygote ( 7135): at void io.flutter.view.FlutterNativeView$PlatformMessageHandlerImpl.handleMessageFromDart(java.lang.String, byte[], int) (FlutterNativeView.java:188) I/zygote ( 7135): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:202) I/zygote ( 7135): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2) I/zygote ( 7135): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325) I/zygote ( 7135): at void android.os.Looper.loop() (Looper.java:142) I/zygote ( 7135): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541) I/zygote ( 7135): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote ( 7135): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240) I/zygote ( 7135): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
解决了吗? 这些错有影响吗? 我也出现这个问题了
from flutter_bugly.
Related Issues (20)
- 配置了ndk,但是依旧会有library "libflutter.so" not found错误 HOT 1
- 里面的时间响应大概是个什么样子? HOT 3
- 全量升级不提示? HOT 2
- 不同的渠道,可以下载到对应的apk吗
- 上传升级包versionCode为1,上传flutter后获取的versionCode为1001,求解
- 隐私权限问题 HOT 8
- 激活量如何增加?
- 试了各种办法,后台都没有正常捕获到异常,而且也没有装机量,启动次数的统计 HOT 4
- FlutterBugly.uploadException可以支持传自定义title异常标题吗,这个非常重要,拜托crazecoder一定要抽空加上,不然在bugly高级搜索里不好配合搜索出指定异常
- 获取更新信息后,信息不全,title,version没有了? HOT 6
- 求助-调用FlutterBugly.checkUpgrade()检查更新的时候报错直接闪退
- 这是腾讯的官方插件吗? HOT 3
- 这些warning 未分析的数据是什么?能闭掉?Warning: Unparsed data ",N,Gjce_enable,SsetJce_enable:,Vjcev2_p_0_r_enable" in attribute string "TB,N,Gjce_enable,SsetJce_enable:,Vjcev2_p_0_r_enable" for property jcev2_p_0_r_enable Warning: Unparsed data ",N,Gjce_enableUserInfo,SsetJce_enableUserInfo:,Vjcev2_p_1_r_enableUserInfo" in attribute string "TB,N,Gjce_enableUserInfo,SsetJce_enableUserInfo:,
- bugly 2.5.92版本库iOS原生运行不了,缺少相关库
- flutter_bugly_play:No podspec found for `flutter_bugly_play`
- android 12 设备点击升级无响应
- Buyly调用两次report的原因是什么?
- 更新策略不稳定:时有时无,策略不是最新的
- ios.bugly.qq.com exists SSL error
- debug模式下,能否设置isDebugger HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_bugly.