Robust icon indicating copy to clipboard operation
Robust copied to clipboard

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.

Results 113 Robust issues
Sort by recently updated
recently updated
newest added

2022-06-27 10:49:11.257 3262-3719/com.hcvm.vender.masks.hengchang D/robust: patchManipulate list size is 1 2022-06-27 10:49:11.257 3262-3719/com.hcvm.vender.masks.hengchang D/PatchManipulateImp: copy: srcPath = /storage/emulated/0/robust/patch.jar 2022-06-27 10:49:11.258 3262-3719/com.hcvm.vender.masks.hengchang D/PatchManipulateImp: copy: dstPath = /data/user/0/com.hcvm.vender.masks.hengchang/cache/robust/patch_temp.jar 2022-06-27 10:49:11.264 3262-3719/com.hcvm.vender.masks.hengchang D/robust: patch...

异常类型:app运行时异常/编译异常 手机型号:redmik40 手机系统版本:MIUI13 Robust版本:0.4.90 Gradle版本:5.4.1 堆栈/日志: 2022-06-23 09:50:32.059 1894-2570/? D/MIUIInput: [MotionEvent] publisher action=0x0, 1076607162, channel '2c010f2 com.feparks.testrobust/com.feparks.testrobust.MainActivity (server)' 2022-06-23 09:50:32.087 1894-2570/? D/MIUIInput: [MotionEvent] publisher action=0x1, 1076607193, channel '2c010f2 com.feparks.testrobust/com.feparks.testrobust.MainActivity (server)'...

用命令gradlew clean assembleRelease打包出来的apk,在android 11下无法安装

使用 androidx 库和robust 0.4.90,Modify `androidx.appcompat.app.AppCompatActivity`方法时报错 异常类型:SuperNotCalledException: Activity 手机型号:Meizu m3x(型号无关 手机系统版本:Android 6.0 (版本无关 Robust版本:0.4.90 Gradle版本:3.4.1 系统:Mac 堆栈/日志: ```` Process: com.example, PID: 8839 android.util.SuperNotCalledException: Activity {com.example/com.example.activity.market.DetailsAttentionActivity} did not call through to super.onCreate()...

背景: 项目打包时遇到很多第三方库混淆时会出现第三方库包名+r文件与项目生成的第三方库包名+R文件冲突导致报错问题,使用Robust才会报错,不使用是正常的。有的第三方库无法联系到开发者,如果能在Robust层面上解决,会是一种比较好的方式。 有问题的第三方库: 华为推送:maven { url 'http://developer.huawei.com/repo/' } com.huawei.hms:push:5.0.3.301 报错: Caused by: java.lang.RuntimeException: cannot find com.huawei.hms.hatool.r: com.huawei.hms.hatool.R found in com/huawei/hms/hatool/r.class at javassist.CtClassType.getClassFile2(CtClassType.java:202) at javassist.CtClassType.getModifiers(CtClassType.java:407) at robust.gradle.plugin.asm.AsmInsertImpl.insertCode(AsmInsertImpl.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at...

原因:gradle 3.5.0+时向apk写入apkhash文件存在再压缩操作,而Android R不允许对resources.arsc进行压缩 解决方案:去掉写apkhash的操作,这块属于补丁加载策略的逻辑,正如wiki所说“对于补丁的加载策略不同的业务方有着不同的需求”,各业务去定制加载策略即可。 Signed-off-by: Gain

日志加载patch成功,但是修复失败 [log.txt](https://github.com/Meituan-Dianping/Robust/files/8505035/log.txt) ,执行方法异常 异常类型:app运行时异常/编译异常 手机型号:如:Nexus 5(如是编译异常,则可以不填) 手机系统版本:如:Android 5.0 (如是编译异常,则可以不填) Robust版本:如:0.4.99 Gradle版本:如:2.5.3 系统:如:Windows 堆栈/日志: 2022-04-18 18:06:04.524 26494-26561/? I/robust: /storage/emulated/0/robust/patchfalse 2022-04-18 18:06:04.524 26494-26561/? D/robust: patchManipulate list size is 1 2022-04-18 18:06:04.525 26494-26561/?...

Robust版本:如:0.4.85,0.4.87,0.4.99 Gradle版本:如:3.5.4 系统:如:Windows 堆栈/日志: 编译成功,执行gradle命令时,gradlew clean assembleRelease --stacktrace --no-daemon的时候报错误: You have duplicate classes with the same name : META-INF.versions.9.module-info please remove duplicate classes

Execution failed for task ':app:transformClassesWithAutoPatchTransformForRelease'. > java.lang.RuntimeException: execute command java -jar /Users/xxx/app/robust/dx.jar --dex --output=classes.dex meituan.jar error * Try: Run with --info or --debug option to get more log output. Run...

使用的0.4.99版本,当修改的方法里面有lambda表达式时,会报这个错误;当没有lambda表达式就可以编译通过。 下面是我在外面使用命令执行的结果 ![image](https://user-images.githubusercontent.com/18542398/103505477-4afb2a00-4e95-11eb-9e94-50046895be3e.png)