Skip to content

新增资源未被识别出差异 #1701

@NiuGuohui

Description

@NiuGuohui

异常类型:差量编译异常

tinker版本:1.9.14.25.1

gradle版本:4.2.2

是否使用热更新SDK: 是

系统:Mac OS

描述:
新增的layout文件在编译时未被识别出差异,编译出的补丁包内也没有新增的布局文件

这是新增资源后的构建产物:
image
其中有名为GZ.xml的新增文件
image

在旧的基准包内确定没有此文件(但是有个区分大小写的名为gZ.xml的文件):
image
image

构建的日志中也没有检测出新增的GZ.xml文件:
res_log.txt
image

但是在resources.arsc中却有指向GZ.xml的资源地址:
image

造成的问题是,更新后,应用访问此资源时会Crash,找不到这个layout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions