Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.15k stars 3.34k forks source link

使用Bugly热更新功能,打补丁包时报错 There are fatal reasons that cause Tinker interrupt patch generating procedure #1617

Open ludoven opened 2 years ago

ludoven commented 2 years ago

FATAL: method 'findField:LLL' in loader class 'Lcom/tencent/tinker/loader/NewClassLoaderInjector;' refers to method 'o:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'installDexes:VLLLLZ' in loader class 'Lcom/tencent/tinker/loader/SystemClassLoaderAdder;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerArkHotLoader;' refers to method 'e:LLLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerArkHotLoader;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerArkHot:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerArkHotLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerArkHot:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerArkHotLoader;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'e:LLLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'e:LLLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'deleteOutOfDateOATFile:VL' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'p:LLLLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerJars:ZLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerJars:ZLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerJars:ZLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerJars:ZLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerJars:ZLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerJars:ZLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'd:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerJars:ZLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader;' refers to method 'd:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'run:Z' in loader class 'Lcom/tencent/tinker/loader/TinkerDexOptimizer$OptimizeWorker;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerResourceLoader;' refers to method 'e:LLLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerResourceLoader;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerResources:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerResourceLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadTinkerResources:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerResourceLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VL' in loader class 'Lcom/tencent/tinker/loader/TinkerRuntimeException;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VLL' in loader class 'Lcom/tencent/tinker/loader/TinkerRuntimeException;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerSoLoader;' refers to method 'e:LLLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'checkComplete:ZLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerSoLoader;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'uncaughtException:VLL' in loader class 'Lcom/tencent/tinker/loader/TinkerUncaughtHandler;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'assignStub:LLIZ' in loader class 'Lcom/tencent/tinker/loader/hotplug/ActivityStubManager;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':V' in loader class 'Lcom/tencent/tinker/loader/hotplug/ActivityStubs;' refers to method 'n:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':V' in loader class 'Lcom/tencent/tinker/loader/hotplug/ActivityStubs;' refers to method 'n:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':V' in loader class 'Lcom/tencent/tinker/loader/hotplug/ActivityStubs;' refers to method 'n:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':V' in loader class 'Lcom/tencent/tinker/loader/hotplug/ActivityStubs;' refers to method 'n:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'loadClass:LLZ' in loader class 'Lcom/tencent/tinker/loader/hotplug/interceptor/ServiceBinderInterceptor$1;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'invoke:LLLL' in loader class 'Lcom/tencent/tinker/loader/hotplug/interceptor/ServiceBinderInterceptor$FakeClientBinderHandler;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'processIntent:ZLL' in loader class 'Lcom/tencent/tinker/loader/hotplug/interceptor/TinkerHackInstrumentation;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VLLLLLLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareDexDiffPatchInfo;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VLLLLLLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareDexDiffPatchInfo;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ElfHeader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ElfHeader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ElfHeader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ProgramHeader;' refers to method 'E:LLI' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$SectionHeader;' refers to method 'E:LLI' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'readUntilLimit:VLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile;' refers to method 'n:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getSection:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getSegment:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method ':VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareFileLockHelper;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getBooleanExtra:ZLLZ' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getBooleanExtra:ZLLZ' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getIntExtra:ILLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getIntExtra:ILLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getLongExtra:JLLJ' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getLongExtra:JLLJ' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getSerializableExtra:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getSerializableExtra:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getStringArrayListExtra:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getStringArrayListExtra:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getStringExtra:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getStringExtra:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getPatchInfoFile:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;' refers to method 'd:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getPatchInfoLockFile:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;' refers to method 'd:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getPatchVersionDirectory:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'optimizedPathFor:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;' refers to method 'h:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'optimizedPathFor:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'safeDeleteFile:ZL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'safeDeleteFile:ZL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'readAndCheckProperty:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchInfo;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'rewritePatchInfoFile:ZLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/SharePatchInfo;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'findConstructor:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareReflectUtil;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'findField:LLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareReflectUtil;' refers to method 'o:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'findMethod:LLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareReflectUtil;' refers to method 'o:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'findMethod:LLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareReflectUtil;' refers to method 'o:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'parseResPatchInfoFirstLine:VLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareResPatchInfo;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'toString:L' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareResPatchInfo;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'changeTestDexToClassN:LLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'F:LLIL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getCurrentInstructionSet:L' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getManifestTinkerID:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getManifestTinkerID:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getProcessNameInternal:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getProcessNameInternal:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 's:VLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getSafeModeCount:IL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'getTinkerSwitchSPKey:LL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'setSafeModeCount:VLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'c:LLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'onFailed:VLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader$1;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'onStart:VLL' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader$1;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'onSuccess:VLLL' in loader class 'Lcom/tencent/tinker/loader/TinkerDexLoader$1;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'tryLoadPatchFilesInternal:VLL' in loader class 'Lcom/tencent/tinker/loader/TinkerLoader;' refers to method 'i:LL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. FATAL: method 'tryLoadPatchFilesInternal:VLL' in loader class 'Lcom/tencent/tinker/loader/TinkerLoader;' refers to method 'd:LLLL' in class 'Ld/b/a/a/a;' which is not in loader class, this may cause crash when patch is loaded. Check if loader classes in classes2.dex refer to any classes that is not in loader class patterns.

Task :app:tinkerPatchRelease FAILED

Execution failed for task ':app:tinkerPatchRelease'.

com.tencent.tinker.build.util.TinkerPatchException: There are fatal reasons that cause Tinker interrupt patch generating procedure, see logs above.

lieying15 commented 2 years ago

请问这个问题有没有解决掉啊,我也是同样的问题,tinker用的是1.9.14.18,一直报这个错误,补丁生成不了

windfone commented 2 years ago

你解决了吗,我也是这个问题

Hsmallm commented 2 years ago

问题有解决吗

ludoven commented 2 years ago

没有解决,后面因为项目原因没有采用热修复,就暂时搁置了

StartSunday commented 2 years ago

有人解决了这个问题吗

alen252 commented 1 year ago

我用的1.9.14.25.1+Bugly 也报错