com.tencent.tinker.build.util.TinkerPatchException: can't find TINKER_ID from the new apk manifest file, it must be set!

GitHub | gaoxuxu | 4 months ago
  1. 0

    can't find TINKER_ID from the new apk manifest file, it must be set!

    GitHub | 4 months ago | gaoxuxu
    com.tencent.tinker.build.util.TinkerPatchException: can't find TINKER_ID from the new apk manifest file, it must be set!
  2. 0

    GitHub comment 81#250393775

    GitHub | 4 months ago | PeiDongHan
    com.tencent.tinker.build.util.TinkerPatchException: some classes was unexpectedly changed in patched new dex, check if there's any bugs in patch algorithm. Rel ated classes: {Lcom/facebook/react/views/view/ReactViewManager;,Lcom/facebook/csslayout/CSSConstants;,Lcom/facebook/react/views/drawer/ReactDrawerLayoutManager ;,Lcom/facebook/react/uimanager/LayoutShadowNode;,Lcom/facebook/react/views/toolbar/ReactToolbarManager;,Lcom/facebook/react/views/text/ReactTextViewManager;}
  3. 0

    Release下打补丁

    GitHub | 4 months ago | l114624915
    java.lang.RuntimeException: com.tencent.tinker.build.util.TinkerPatchException: some loader class has been changed in new dex. Such these changes will not take effect!! related classes: {Lcom/tencent/tinker/loader/AndroidNClassLoader;,Lcom/tencent/tinker/loader/TinkerLoader;,Lcom/tencent/tinker/loader/TinkerResourceLoader;}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Warning:ignoreWarning is false, but we found some loader class has been changed in new dex. Such these changes will not take effect!!

    GitHub | 1 month ago | wyh497823256
    java.lang.RuntimeException: com.tencent.tinker.build.util.TinkerPatchException: some loader class has been changed in new dex. Such these changes will not take effect!! related classes: {Lcom/tencent/tinker/loader/shareutil/ShareResPatchInfo;,Lcom/tencent/tinker/loader/SystemClassLoaderAdder$V23;,Lcom/tencent/tinker/loader/shareutil/ShareBsDiffPatchInfo;,Lcom/tencent/tinker/loader/shareutil/SharePatchFileUtil;,Lcom/tencent/tinker/loader/shareutil/ShareFileLockHelper;,Lcom/tencent/tinker/loader/shareutil/ShareReflectUtil;,Lcom/tencent/tinker/loader/TinkerParallelDexOptimizer$ResultCallback;,Lcom/tencent/tinker/loader/TinkerParallelDexOptimizer;,Lcom/tencent/tinker/loader/TinkerDexLoader$1;,Lcom/tencent/tinker/loader/TinkerTestDexLoad;,Lcom/tencent/tinker/loader/TinkerSoLoader;,Lcom/tencent/tinker/loader/TinkerDexLoader;,Lcom/tencent/tinker/loader/TinkerResourcePatcher;,Lcom/tencent/tinker/loader/app/ApplicationLifeCycle;,Lcom/tencent/tinker/loader/shareutil/ShareTinkerInternals;,Lcom/tencent/tinker/loader/app/DefaultApplicationLike;,Lcom/tencent/tinker/loader/shareutil/ShareConstants;,Lcom/tencent/tinker/loader/AndroidNClassLoader;,Lcom/tencent/tinker/loader/shareutil/SharePatchInfo;,Lcom/tencent/tinker/loader/shareutil/ShareIntentUtil;,Lcom/tencent/tinker/loader/BuildConfig;,Lcom/tencent/tinker/loader/SystemClassLoaderAdder$V14;,Lcom/tencent/tinker/loader/TinkerLoader;,Lcom/tencent/tinker/loader/SystemClassLoaderAdder$V4;,Lcom/tencent/tinker/loader/app/ApplicationLike;,Lcom/tencent/tinker/loader/shareutil/ShareSecurityCheck;,Lcom/tencent/tinker/loader/AbstractTinkerLoader;,Ltinker/sample/android/app/SampleApplication;,Lcom/tencent/tinker/loader/app/TinkerApplication;,Lcom/tencent/tinker/loader/TinkerResourceLoader;,Lcom/tencent/tinker/loader/shareutil/ShareDexDiffPatchInfo;,Lcom/tencent/tinker/loader/SystemClassLoaderAdder$V19;,Lcom/tencent/tinker/loader/TinkerParallelDexOptimizer$OptimizeWorker;,Lcom/tencent/tinker/loader/SystemClassLoaderAdder;,Lcom/tencent/tinker/loader/shareutil/ShareResPatchInfo$LargeModeInfo;,Lcom/tencent/tinker/loader/TinkerRuntimeException;}
  6. 0

    完全相同的配置,对同一个release包打包,不同电脑打补丁失败

    GitHub | 1 month ago | OoadaioO
    com.tencent.tinker.build.util.TinkerPatchException: some loader class has been changed in new dex. Such these changes will not take effect!! related classes: {Lcom/tencent/tinker/loader/R;}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.tencent.tinker.build.util.TinkerPatchException

      can't find TINKER_ID from the new apk manifest file, it must be set!

      at com.tencent.tinker.build.info.PatchInfoGen.addTinkerID()
    2. com.tencent.tinker
      Runner$gradleRun.call
      1. com.tencent.tinker.build.info.PatchInfoGen.addTinkerID(PatchInfoGen.java:58)
      2. com.tencent.tinker.build.info.PatchInfoGen.gen(PatchInfoGen.java:65)
      3. com.tencent.tinker.build.info.PatchInfo.gen(PatchInfo.java:43)
      4. com.tencent.tinker.build.patch.Runner.tinkerPatch(Runner.java:70)
      5. com.tencent.tinker.build.patch.Runner.run(Runner.java:48)
      6. com.tencent.tinker.build.patch.Runner.gradleRun(Runner.java:41)
      7. com.tencent.tinker.build.patch.Runner$gradleRun.call(Unknown Source)
      7 frames