Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcom.tencent.tinker.build.util.TinkerPatchException: there's loader classes added in new primary dex, such these changes will not take effect #1414
Comments
|
我基准包使用的Tinker1.9.14.3,打补丁包时使用1.19.14.7,也会报错。。。所以基准包和补丁包应该保持Tinker-SDK的同一版本。。。所以当要用新的Tinker版本,应该重新打基准包。 |
|
遇到了同样的问题,我的基准包和打补丁包的Tinker版本是一致的 都是1.9.14.6 但是仍然出现了 上述问题 com.tencent.tinker.build.util.TinkerPatchException: some loader class has been changed in new primary dex. Such these changes will not take effect!! related classes: {Lcom/tencent/tinker/loader/shareutil/ShareOatUtil$1;,Lcom/tencent/tinker/loader/SystemClassLoaderAdder$1;,Lcom/tencent/tinker/loader/shareutil/ShareElfFile$1;,Lcom/tencent/tinker/loader/TinkerDexOptimizer$StreamConsumer$1;,Lcom/tencent/tinker/loader/TinkerDexLoader$1;,Lcom/tencent/tinker/loader/hotplug/interceptor/ServiceBinderInterceptor$1;,Lcom/tencent/tinker/loader/hotplug/IncrementComponentManager$1;,Lcom/tencent/tinker/loader/TinkerDexOptimizer$1;} |
|
tinker:1.9.14.7, |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Warning:ignoreWarning is false, but we found there's loader classes added in new primary dex, such these changes will not take effect.
added classes: {Lcom/tencent/tinker/loader/AppInfoChangedBlocker$HackerCallback;,Lcom/tencent/tinker/loader/AppInfoChangedBlocker;,Lcom/tencent/tinker/loader/app/TinkerInlineFenceAction;,Lcom/tencent/tinker/loader/TinkerClassLoader$CompoundEnumeration;,Lcom/tencent/tinker/loader/TinkerClassLoader;,Lcom/tencent/tinker/loader/NewClassLoaderInjector;}
FAILURE: Build failed with an exception.
Execution failed for task ':app:tinkerPatchHuolalaRelease'.