Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android app构建升级到R8后补丁变大问题 #1759

Open
DebugerBai opened this issue Oct 16, 2024 · 3 comments
Open

android app构建升级到R8后补丁变大问题 #1759

DebugerBai opened this issue Oct 16, 2024 · 3 comments

Comments

@DebugerBai
Copy link

android app构建升级到R8后,由于applymapping不能保证正确(即基础包和补丁包变量和方法名称不能维持一样),导致tinker补丁变大,也会导致有做补丁失败的风险。
tinker有什么好的处理办法吗?

@cocpublic
Copy link

cocpublic commented Dec 2, 2024

可以尝试去掉 applyMapping,R8的applymapping有bug,使用还是会有相当一部分差异,导致补丁比较大,但是相同环境下打包R8 似乎能保持一致性,关掉后补丁会比applymapping的小很多

@jacklongway
Copy link

jacklongway commented Dec 2, 2024 via email

@canlan818
Copy link

canlan818 commented Dec 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants