热更新的问题
来源:10-5 基于构建技术理解热修复原理

xxxxjase普通
2021-08-13
相关截图:
Api 21 以后,应用安装后系统 AOT 优化,会合并 dex 那这里是不会有多个 dex 吧。???
写回答
1回答
-
allenfeng
2021-08-13
你的理解是对的。
Multidex support for Android 5.0 and higher
Android 5.0 (API level 21) and higher uses a runtime called ART which natively supports loading multiple DEX files from APK files. ART performs pre-compilation at app install time which scans for
classesN.dex
files and compiles them into a single.oat
file for execution by the Android device.参考 MultiDex
此处为了方便理解热修复原理,还是作为有多个元素的数组来讲解。
10
相似问题