Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.4k stars 806 forks source link

打补丁包时报错,求助~ #377

Closed qujc closed 4 years ago

qujc commented 4 years ago

@hedex
您好,我打补丁包是出现如下错误,没有具体异常信息,不知从何入手,麻烦帮忙看下,多谢~

异常类型:打补丁包时异常

Robust版本:如:0.4.91

Gradle版本:5.11 Gradle插件版本:3.4.1

系统:Linux

堆栈/日志:

================autoPatch start================ autopatch read all class file cost 0.639 second check all class cost 10.285 second, class count: 57895 new add methods list is key is com.ziroom.ziroomcustomer.home.home0329.HomePageFragment.loginTip()

new add classes list is

patchMethodSignatureSet is printed below key is com.ziroom.ziroomcustomer.home.home0329.HomePageFragment.onMessageClick() key is com.ziroom.ziroomcustomer.MainActivity.updateTabStatus(int)

Warning class name setImageResource(int) can not find in mapping !! Warning class name setTextColor(int) can not find in mapping !! Warning class name setImageResource(int) can not find in mapping !! Warning class name setTextColor(int) can not find in mapping !! Warning class name setImageResource(int) can not find in mapping !! Warning class name setTextColor(int) can not find in mapping !! Warning class name setImageResource(int) can not find in mapping !! Warning class name setTextColor(int) can not find in mapping !! Warning class name setImageResource(int) can not find in mapping !! Warning class name setTextColor(int) can not find in mapping !! Warning class name put(java.lang.String,java.lang.Object) can not find in mapping !! Warning class name put(java.lang.String,java.lang.Object) can not find in mapping !! Warning class name printStackTrace() can not find in mapping !! java -jar /var/lib/jenkins/jobs/Release/workspace/ziroom-main/robust/dx.jar --dex --output=classes.dex meituan.jar errorStream output Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Duser.country=CN -Duser.language=zh -Duser.timezone=Asia/Shanghai

Task :ziroom-main:transformClassesWithAutoPatchTransformForRelease FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 25s 48 actionable tasks: 45 executed, 3 up-to-date

lichao2018 commented 3 years ago

兄弟问题解决了吗

pengtairan commented 3 years ago

同样