Tencent / tinker

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

1.9.14.8打补丁时失败 #1470

Open ddoolcg opened 3 years ago

ddoolcg commented 3 years ago
异常类型:编译异常

手机型号:无

手机系统版本:无

tinker版本:1.9.14.8

gradle版本:6.1.1

是否使用热更新SDK:  TinkerPatch SDK

系统:win

堆栈/日志:
Check for loader classes in dex: classes.dex
Collect class descriptors in classes.dex
Check for loader classes in dex: classes2.dex
Collect class descriptors in classes2.dex
Check if loader classes in classes.dex refer to any classes that is not in loader class patterns.
FATAL: method 'hackMessage:ZL' in loader class 'Lcom/tencent/tinker/loader/AppInfoChangedBlocker$HackerCallback;' refers to method 'c:LL' in class 'Ld/e/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/NewClassLoaderInjector;' refers to method 'b:LLLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'installDexes:VLLLLZZ' in loader class 'Lcom/tencent/tinker/loader/SystemClassLoaderAdder;' refers to method 'c:LL' in class 'Ld/e/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 'a:LLLLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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:LL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'a:LLLLL' in class 'Ld/e/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 'a:LLLLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'a:LLLLLL' in class 'Ld/e/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:LL' in class 'Ld/e/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:LL' in class 'Ld/e/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:LL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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:LL' in class 'Ld/e/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 'a:LLLL' in class 'Ld/e/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 'a:LLLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'a:LLLLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VL' in loader class 'Lcom/tencent/tinker/loader/TinkerRuntimeException;' refers to method 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VLL' in loader class 'Lcom/tencent/tinker/loader/TinkerRuntimeException;' refers to method 'b:LLL' in class 'Ld/e/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 'a:LLLLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VLLLLLLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareDexDiffPatchInfo;' refers to method 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VLLLLLLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareDexDiffPatchInfo;' refers to method 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ElfHeader;' refers to method 'c:LL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ElfHeader;' refers to method 'c:LL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ElfHeader;' refers to method 'c:LL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ElfHeader;' refers to method 'c:LL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$ProgramHeader;' refers to method 'a:LLI' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VLI' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareElfFile$SectionHeader;' refers to method 'a:LLI' in class 'Ld/e/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 'c:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method '<init>:VL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareFileLockHelper;' refers to method 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'a:LLLL' in class 'Ld/e/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 'a:LLLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'a:LLLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'b:LLLL' in class 'Ld/e/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 'b:LLLL' in class 'Ld/e/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 'b:LLLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'a:LLIL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'checkSignatureAndTinkerID:ILLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'a:LLLLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'isSystemOTA:ZL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'isSystemOTA:ZL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'a:LLLLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'isSystemOTA:ZL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;' refers to method 'a:LLLLL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'printLog:VLLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerLog;' refers to method 'b:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'b:LLL' in class 'Ld/e/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 'c:LL' in class 'Ld/e/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 'a:LLLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'parseLaunchMode:IL' in loader class 'Lcom/tencent/tinker/loader/hotplug/IncrementComponentManager$1;' refers to method 'b:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.
FATAL: method 'printErrStackTrace:VLLLL' in loader class 'Lcom/tencent/tinker/loader/shareutil/ShareTinkerLog$1;' refers to method 'c:LLL' in class 'Ld/e/a/a/a;' which is not in loader class, this may cause crash when patch is loaded.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:tinkerPatchRelzRelease'.
> com.tencent.tinker.build.util.TinkerPatchException: There are fatal reasons that cause Tinker interrupt patch generating procedure, see logs above.

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:tinkerPatchRelzRelease'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:205)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:203)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:184)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:372)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:359)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:352)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:338)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: java.lang.RuntimeException: com.tencent.tinker.build.util.TinkerPatchException: There are fatal reasons that cause Tinker interrupt patch generating procedure, see logs above.
    at com.tencent.tinker.build.patch.Runner.goToError(Runner.java:101)
    at com.tencent.tinker.build.patch.Runner.tinkerPatch(Runner.java:81)
    at com.tencent.tinker.build.patch.Runner.run(Runner.java:53)
    at com.tencent.tinker.build.patch.Runner.gradleRun(Runner.java:46)
    at com.tencent.tinker.build.patch.Runner$gradleRun.call(Unknown Source)
    at com.tencent.tinker.build.gradle.task.TinkerPatchSchemaTask.tinkerPatch(TinkerPatchSchemaTask.groovy:135)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:49)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:727)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:694)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:568)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:553)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:536)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:109)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:276)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:265)
    at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$1(ExecuteStep.java:33)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:33)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
    at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:63)
    at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)
    at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)
    at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
    at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
    at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:34)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)
    at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)
    at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
    at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:153)
    at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:67)
    at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:41)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)
    at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)
    at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)
    at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:192)
    ... 30 more
Caused by: com.tencent.tinker.build.util.TinkerPatchException: There are fatal reasons that cause Tinker interrupt patch generating procedure, see logs above.
    at com.tencent.tinker.build.decoder.DexDiffDecoder.checkIfLoaderClassesReferToNonLoaderClasses(DexDiffDecoder.java:376)
    at com.tencent.tinker.build.decoder.DexDiffDecoder.onAllPatchesEnd(DexDiffDecoder.java:239)
    at com.tencent.tinker.build.decoder.ApkDecoder.patch(ApkDecoder.java:126)
    at com.tencent.tinker.build.patch.Runner.tinkerPatch(Runner.java:69)
    ... 96 more

* Get more help at https://help.gradle.org

BUILD FAILED in 35s
Check if loader classes in classes2.dex refer to any classes that is not in loader class patterns.

> Task :app:tinkerPatchRelzRelease FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
218 actionable tasks: 8 executed, 210 up-to-date
18:01:27: Task execution finished 'tinkerPatchRelzRelease'.

开启混淆时,构建补丁失败。

balizhuang2012 commented 3 years ago

我也遇上同样问题,这个类和新的混淆器相关,用了高版本gradle就会有这个问题。 麻烦帮忙解决一下。

sollyu commented 3 years ago

问题+1

ethanwei commented 3 years ago

问题+1

anaelwu commented 3 years ago

我也遇到这个问题,请问大神解决了吗

zhangdepeng125 commented 3 years ago

我也遇到这个问题,请问大神解决了吗

596861134 commented 3 years ago

是不是已经不维护了

ssurprise commented 3 years ago

+1

wushangjun commented 3 years ago

+1

zmc969213509 commented 2 years ago

很奇怪 我也遇到这个问题 但是我把 TinkerApplication 和 ThinkerApplicationLike 这两个类从kotlin 改成 java就可以了

sjc90516 commented 2 years ago

我觉得我要放弃了。

gandesheng commented 2 years ago

TinkerDemo4.zip 这个是我自己弄的Demo,可以参考下

gandesheng commented 2 years ago

我觉得我要放弃了。

上下有两个demo,可以参考下,我也遇到过一些破问题,希望这个能帮助到你

gandesheng commented 2 years ago

这个是kotlin的Demo TinkerDemo3.zip

gandesheng commented 2 years ago

我遇到这个问题有3种情况: 1.混淆出错(混淆文件添加 -dontoptimize) 2.集成了腾讯云混淆出现冲突(修复 -keep class com.tencent.* { ; }) 3.在Application中写了额外的方法(Application 中不能写任何方法,需要实现的方法在ApplicationLike中处理)