Giter Club home page Giter Club logo

Comments (3)

xxxyanchenxxx avatar xxxyanchenxxx commented on May 21, 2024

参考https://github.com/CtripMobile/DynamicAPK/issues/18,用AndFix中的apkpatch制作了补丁文件。但不清楚下一步怎么用。

from dynamicapk.

peacepassion avatar peacepassion commented on May 21, 2024

@xxxyanchenxxx 看了下源码,我的理解是这样的,hotfix的补丁也是插件项目,但是是放在hotpatch下的hotfix.zip文件,这个文件应该是一个dex,但是在加载进classloader的时候,其优先级比较高,先加载进classloader,可以参考一下BundlePathLoader#expandFieldArray()方法。这样的话,就替换掉了原来有bug的插件。

from dynamicapk.

javalover avatar javalover commented on May 21, 2024

@peacepassion 我觉得应该不是这么设计的,插件有升级系统,可以BoundleCore#updateBundle,插件不需要hotfix,只需要升级就可以了呀,这个框架的 Hotfix我也还没看懂,看代码是基于 多dex 的方式,但又好像没考虑到 class_ispreverified 的问题

from dynamicapk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.