Skip to content

同时集成Bubly的Tinker1.9.6热修复时,打补丁包失败 #114

@Samge0

Description

@Samge0

我原有项目也集成了tinker热修复功能。所以在使用该组件化方案前,测试了一下对tinker的支持。

直接使用DDComponentForAndroid提供的Demo集成buglySdk支持的tinker1.9.6,编译跟运行都没有问题,但是发现在打补丁包的时候出错了。

异常类型:其他兼容性异常

手机型号:努比亚Z11 miniS (其他手机也一样)

手机系统版本:Android6.0

bugly的tinker支持的SDK版本:com.tencent.bugly:tinker-support:1.1.2

实际使用的tinker版本:1.9.6

gradle工具版本:3.0.1

是否使用热更新SDK: Bugly SDK

系统:ubuntu18.04

堆栈/日志:
Information:Gradle tasks [buildTinkerPatchDebug]
Error:Failed to complete Gradle execution.

Cause:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

Warning:ignoreWarning is false, but we found some loader class has been changed in new primary dex. Such these changes will not take effect!! related classes: {Lcom/luojilab/componentdemo/application/BaseTinkerApplication;}

Error:com.tencent.tinker.build.util.TinkerPatchException: some loader class has been changed in new primary dex. Such these changes will not take effect!! related classes: {Lcom/luojilab/componentdemo/application/BaseTinkerApplication;}

Information:2 errors
Information:1 warning
Information:See complete output in console

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions