tinker icon indicating copy to clipboard operation
tinker copied to clipboard

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

Open ludoven opened this issue 3 years ago • 6 comments

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.

  • *### *build:gradle: 4.1.1
  • gradle version: 4.7.1
  • tinkersupport : 1.2.3
  • tinker lib : 1.9.14.6**

ludoven avatar Nov 16 '21 09:11 ludoven

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

lieying15 avatar Dec 17 '21 02:12 lieying15

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

windfone avatar Jan 20 '22 01:01 windfone

问题有解决吗

Hsmallm avatar Apr 21 '22 05:04 Hsmallm

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

ludoven avatar Apr 22 '22 03:04 ludoven

有人解决了这个问题吗

StartSunday avatar Aug 26 '22 02:08 StartSunday

我用的1.9.14.25.1+Bugly 也报错

alen252 avatar Nov 22 '22 12:11 alen252