lixiangkai1987
lixiangkai1987
遇到同样的问题,请问你有解决了么?还是换了别的热修复框架?
我也是类似的问题,现在业务功能都是组件化了,修复bug都是在对应的module,哥们你找到解决办法了么
意思是将new Runnable() { @override public void run() { XjjLogManagerUtil.i(TAG, "getRemoteDataNew run"); } }单独作为新增类么,然后该类继承Runnable? 还有一个问题,每次打完补丁重启应用就无效了,这个是每次都要重新加载补丁包么?
引入了tinker之后你们实测是正常的么?
Uncaught translation error: com.android.dx.cf.code.SimException: stack: overflow :app:transformClassesWithDexForBanmaRelease (Thread[Daemon worker Thread 3,5,main]) completed. Took 24.585 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWithDexForBanmaRelease'....
加了--info,只能看到以下错误信息 Uncaught translation error: com.android.dx.cf.code.SimException: stack: overflow :app:transformClassesWithDexForBanmaRelease (Thread[Daemon worker Thread 3,5,main]) completed. Took 24.585 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task...
Uncaught translation error: com.android.dx.cf.code.SimException: stack: overflow FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWithDexForBanmaRelease'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Translation has been interrupted...
16:11:18.194 [ERROR] [org.gradle.api.Project] Uncaught translation error: com.android.dex.util.ExceptionWithContext: Unexpected constant type 16:11:18.492 [null] [org.gradle.internal.progress.DefaultBuildOperationExecutor] > Task :app:transformClassesWithDexForBanmaRelease FAILED 16:11:18.194 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Execute transform for :app:transformClassesWithDexForBanmaRelease' 16:11:18.195 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository]...
classpath('com.tencent.tinker:tinker-patch-gradle-plugin:1.9.13.2') classpath "com.didiglobal.booster:booster-gradle-plugin:$booster_version" classpath "com.didiglobal.booster:booster-task-all:$booster_version" classpath "com.didiglobal.booster:booster-transform-lint:$booster_version" // classpath "com.didiglobal.booster:booster-transform-thread:$booster_version" 去掉 classpath "com.didiglobal.booster:booster-transform-lint:$booster_version"就可以编译通过