magicbaby810 / HotfixFlutter

使用Tinker或Sophix实现Flutter热更新,兼容flutterboost
400 stars 51 forks source link

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/lib/util/TinkerLog #16

Closed ConerK closed 3 years ago

ConerK commented 3 years ago

集成阿里热更新,没集成tinker启动会抱错 Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog" 使用的 implementation 'com.sk.flutterpatch:flutterpatch:0.0.6'版本

magicbaby810 commented 3 years ago

集成阿里热更新,没集成tinker启动会抱错 Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tencent.tinker.lib.util.TinkerLog" 使用的 implementation 'com.sk.flutterpatch:flutterpatch:0.0.6'版本

用0.0.7试试,刚上传jcenter

ConerK commented 3 years ago

0.07版本可以了,哪块是sophix单独用的,我想提出来单独放到项目里面

magicbaby810 commented 3 years ago

0.07版本可以了,哪块是sophix单独用的,我想提出来单独放到项目里面

你就单独使用hannibal和flutterpatch就行了,其他不需要做

ConerK commented 3 years ago

好的,感谢大佬及时回复