GangJust / FreedomPlus

依赖于抖音运行的Xposed模块.
https://github.com/GangJust/FreedomPlus
GNU General Public License v3.0
951 stars 86 forks source link

[Bug反馈]红米9 安卓版本10 抖音30.6.0 运行闪退 #105

Open itzhouyansun opened 2 months ago

itzhouyansun commented 2 months ago

基本信息

设备信息:设备机型 系统版本:Android 10 模块框架:Lsposed 模块版本:Freedom+_1.3.5 应用版本:抖音30.6.0 应用ABI:64位

如何复现

不论是下载编译好的Freedom+模块,还是clone源码AndroidStudio自行编译运行, 进入模块设置,或者运行抖音刷了一会都会闪退,以下日志是as中logcat复制的闪退日志。

崩溃堆栈文本信息

2024-08-27 09:44:01.225 27324-27324 Freedom+ com...ndroid.ugc.aweme D ╭─────────────────────────────── 2024-08-27 09:44:01.225 27324-27324 Freedom+ com...ndroid.ugc.aweme D ├─version: 1.3.5 - 30.6.0(300601) 2024-08-27 09:44:01.225 27324-27324 Freedom+ com...ndroid.ugc.aweme D ╰─────────────────────────────── ╭┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ 2024-08-27 09:44:21.124 27324-27430 Freedom+ com...ndroid.ugc.aweme E ├─错误信息: Failed resolution of: Lcom/bytedance/ttcjpaysdk/code/common/h/a; 出现时间: 2024-08-27 09:44:21.08 设备信息: Xiaomi M2004J19C 系统版本: Android 10 (29) 应用版本: 抖音 30.6.0 (300601) 应用架构: arm64 Google安全补丁级别: 2021-06-01 Dalvik虚拟机: instructionSet=arm64; is64Bit=true 堆栈信息: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/bytedance/ttcjpaysdk/code/common/h/a; at com.ss.android.ugc.aweme.cjplugin.CJPluginProvider.getServiceClassMap(Unknown Source:191) at com.bytedance.bdp.bdpbase.manager.BdpServiceManager.LIZIZ(SourceFile:17104899) at com.bytedance.bdp.bdpbase.manager.BdpServiceManager.LIZ(SourceFile:327778) at com.bytedance.bdp.bdpbase.manager.BdpServiceManager.LIZ(SourceFile:17170446) at com.bytedance.bdp.bdpbase.manager.BdpManager.getService(SourceFile:16842754) at com.bytedance.caijing.sdk.infra.base.core.di.CJServiceManager.getService(SourceFile:17170445) at com.bytedance.caijing.sdk.infra.base.impl.gecko.GeckoRegisterImpl.getPlugInService(SourceFile:131076) at com.bytedance.caijing.sdk.infra.base.impl.gecko.GeckoRegisterImpl.registerRootDir(SourceFile:17039360) at com.bytedance.geckox.settings.GeckoRegisterManager.LIZ(SourceFile:50725031) at com.bytedance.geckox.settings.GeckoRegisterManager.registerDirAndCustomParams(SourceFile:33816610) at com.bytedance.geckox.settings.GlobalSettingsManager$2.run(SourceFile:458793) at com.ss.android.ugc.nimbleworker.task.RunnableSessionThreadWrapper.doWork(SourceFile:393365) at com.ss.android.ugc.nimbleworker.task.RunnableSessionThreadWrapper.run(SourceFile:131078) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919) at com.ss.android.ugc.bytex.pthread.base.proxy.PthreadThreadV2.run(Unknown Source:23) at com.ss.android.ugc.bytex.async.stack.delegate.TransmitThread.run(SourceFile:196617) at com.ss.android.ugc.nimbleworker.task.RunnableSessionThreadWrapper.doWork(SourceFile:393227) at com.ss.android.ugc.nimbleworker.task.RunnableSessionScheduleWrapper.run(SourceFile:327764) at kotlin.jvm.internal.ALambdaS704S0100000_28.invoke$43(SourceFile:33882174) at kotlin.jvm.internal.ALambdaS704S0100000_28.invoke(Unknown Source:26) at com.ss.android.ugc.bytex.pthread.base.convergence.core.ThreadWorker.run(Unknown Source:101) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.ss.android.ugc.bytex.pthread.base.convergence.core.ExemptThreadFactory$newThread$t$1.run(Unknown Source:39) at java.lang.Thread.run(Thread.java:919) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.bytedance.ttcjpaysdk.code.common.h.a" on path: DexPathList[[zip file "/data/user/0/com.ss.android.ugc.aweme/files/plugins/com.ss.android.ugc.aweme.cjplugin/version-312099000/apk/base-1.apk"],nativeLibraryDirectories=[/data/user/0/com.ss.android.ugc.aweme/files/plugins/com.ss.android.ugc.aweme.cjplugin/version-312099000/lib, /system/lib64, /product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:230) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at com.ss.android.ugc.aweme.cjplugin.CJPluginProvider.getServiceClassMap(Unknown Source:191)  at com.bytedance.bdp.bdpbase.manager.BdpServiceManager.LIZIZ(SourceFile:17104899)  at com.bytedance.bdp.bdpbase.manager.BdpServiceManager.LIZ(SourceFile:327778)  at com.bytedance.bdp.bdpbase.manager.BdpServiceManager.LIZ(SourceFile:17170446)  at com.bytedance.bdp.bdpbase.manager.BdpManager.getService(SourceFile:16842754)  at com.bytedance.caijing.sdk.infra.base.core.di.CJServiceManager.getService(SourceFile:17170445)  at com.bytedance.caijing.sdk.infra.base.impl.gecko.GeckoRegisterImpl.getPlugInService(SourceFile:131076)  at com.bytedance.caijing.sdk.infra.base.impl.gecko.GeckoRegisterImpl.registerRootDir(SourceFile:17039360)  at com.bytedance.geckox.settings.GeckoRegisterManager.LIZ(SourceFile:50725031)  at com.bytedance.geckox.settings.GeckoRegisterManager.registerDirAndCustomParams(SourceFile:33816610)  at com.bytedance.geckox.settings.GlobalSettingsManager$2.run(SourceFile:458793)  at com.ss.android.ugc.nimbleworker.task.RunnableSessionThreadWrapper.doWork(SourceFile:393365)  at com.ss.android.ugc.nimbleworker.task.RunnableSessionThreadWrapper.run(SourceFile:131078)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  at java.lang.Thread.run(Thread.java:919)  at com.ss.android.ugc.bytex.pthread.base.proxy.PthreadThreadV2.run(Unknown Source:23)  at com.ss.android.ugc.bytex.async.stack.delegate.TransmitThread.run(SourceFile:196617)  at com.ss.android.ugc.nimbleworker.task.RunnableSessionThreadWrapper.doWork(SourceFile:393227)  at com.ss.android.ugc.nimbleworker.task.RunnableSessionScheduleWrapper.run(SourceFile:327764)  at kotlin.jvm.internal.ALambdaS704S0100000_28.invoke$43(SourceFile:33882174)  at kotlin.jvm.internal.ALambdaS704S0100000_28.invoke(Unknown Source:26)  at com.ss.android.ugc.bytex.pthread.base.convergence.core.ThreadWorker.run(Unknown Source:101)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  at com.ss.android.ugc.bytex.pthread.base.convergence.core.ExemptThreadFactory$newThread$t$1.run(Unknown Source:39)  at java.lang.Thread.run(Thread.java:919)  Suppressed: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/bytedance/ttcjpaysdk/code/common/api/CJCodeCommonService; at com.bytedance.mira.plugin.fast.Interstellar.find_loaded_and_find_clazz(Native Method) at com.bytedance.mira.plugin.fast.Interstellar.LIZIZ(SourceFile:50593832) at X.0dX1.findClassFromCurrent(SourceFile:16908292) at X.0dX1.loadClass(SourceFile:33947656) at java.lang.ClassLoader.loadClass(ClassLoader.java:367) ... 28 more Caused by: java.lang.ClassNotFoundException: Didn't find class "com.bytedance.ttcjpaysdk.code.common.api.CJCodeCommonService" on path: DexPathList[[zip file "/data/user/0/com.ss.android.u 2024-08-27 09:44:21.124 27324-27430 Freedom+ com...ndroid.ugc.aweme E ╰┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄

GangJust commented 2 months ago

看样子是官方热加载自己的plugin造成的,没看到是由模块引发的相关错误信息,你可以尝试清除dy数据试试?

itzhouyansun commented 2 months ago

看样子是官方热加载自己的plugin造成的,没看到是由模块引发的相关错误信息,你可以尝试清除dy数据试试?

感谢大佬回复,尝试清除抖音数据后是ok的,应该是之前抖音覆盖安装低版本后抖音本地缓存的数据有问题,此issue可关闭,感谢~