-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
打补丁包编译不通过 #1269
Comments
异常类型:编译异常导致打补丁包失败 手机型号: 手机系统版本: gradle版本:5.1.1 是否使用热更新SDK: Bugly SDK 系统:Windows 堆栈/日志: Task :app:transformClassesAndResourcesWithR8ForRelease 我的解决方式是在gradle.properties 添加以下两行 【生成基包之前必须添加】。 |
@nearbyren 您知道不能开启R8的原因是什么么?那为什么打基本包的时候是可以成功的,打补丁包的时候就会编译不通过!问题是出在R8 还是 Thinker plugin |
@LoquatZ 目前我也找不到原因!!! |
@nearbyren 使用您提供的方法,可以正常打补丁包! 谢谢,但是还是想 知道一下原因,禁用R8会不会有什么隐患 ! |
目前只能通过禁用R8解决吗 |
以上是我个人的一些观点,不成熟的地方还望纠正指教,谢谢。 |
|
异常类型:编译异常导致打补丁包失败
手机型号:
手机系统版本:
tinker版本 1.9.14
gradle版本:5.4.1
是否使用热更新SDK: Bugly SDK
系统:Mac
堆栈/日志:
以上日志只是一个方法,抛出的异常, 包内的近100个方法都出现 mapping 失败!
原以为是混淆时内联函数优化导致的,但是多次尝试均未能成功!
The text was updated successfully, but these errors were encountered: