Comments (3)
参考https://github.com/CtripMobile/DynamicAPK/issues/18,用AndFix中的apkpatch制作了补丁文件。但不清楚下一步怎么用。
from dynamicapk.
@xxxyanchenxxx 看了下源码,我的理解是这样的,hotfix的补丁也是插件项目,但是是放在hotpatch下的hotfix.zip文件,这个文件应该是一个dex,但是在加载进classloader的时候,其优先级比较高,先加载进classloader,可以参考一下BundlePathLoader#expandFieldArray()方法。这样的话,就替换掉了原来有bug的插件。
from dynamicapk.
@peacepassion 我觉得应该不是这么设计的,插件有升级系统,可以BoundleCore#updateBundle,插件不需要hotfix,只需要升级就可以了呀,这个框架的 Hotfix我也还没看懂,看代码是基于 多dex 的方式,但又好像没考虑到 class_ispreverified 的问题
from dynamicapk.
Related Issues (20)
- 和阿里巴巴的 AndFix 比较各有有什么优缺点? HOT 1
- 为啥不放出来Bundle.cpp? HOT 1
- 编译不过 HOT 3
- 使用资源加载模块Android 4.2 以下values 无法更新 HOT 1
- 编译出错 HOT 3
- 是否有人尝试过给demo增加动画? HOT 1
- 麻烦问下大概什么时候可以出release版本,现在还有人维护吗?
- demo里面的主界面出现了,但是里面两个button,GO TO DEMO1和2点了没有反应
- demo里面的主界面出现了,但是里面两个button,GO TO DEMO1和2点了没有反应 HOT 3
- 红米1s概率性解压失败
- aapt在android studio中,使用build tool 23版本,无法运行,会卡在那边 HOT 1
- InstrumentationHook中替换某个Activity的Resource
- 我也遇到了,编译都通过不过,不晓得这项目到底还在维护没,没有的话只有换了 HOT 2
- 编译通过,无法运行 HOT 2
- 插件升级方式是什么
- Permission denied
- 大家散了吧,停止维护 HOT 10
- androidStudio2.2./gradlew assembleRelease bundleRelease repackAll出错
- android studio 2.2.3 (Window7) 出现如下错误
- Avoid assigning dependencyCacheDir in JavaCompile Gradle tasks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamicapk.