摘要
Android安装包大小对应用下载安装转化以及运行性能造成影响,因此开发者需要对包体积进行缩减优化。现有的Android包体积优化方案大体上可分为两种策略,即Class字节码优化和资源文件优化。资源文件优化策略通用且收益数据较可观,可达到MB级别,但完成优化后如需再进一步优化便会到达瓶颈。本文将从更具难度的应用资源存储与索引入手,探索如何进行深度路径混淆以及资源精简,从而达到对Android安装包进一步优化的目的。
Android package size has an impact on application download and installation conversion as well as runtime performance, so developers need to optimize the package size reduction. The existing Android package size optimization solutions can be broadly divided into two strategies, namely Class bytecode optimization and resource file optimization. The resource file optimization strategy is common and the gain data is considerable, which can reach the MB level, but it will reach the bottleneck if further optimization is needed after finishing the optimization. In this paper, we will start from the more difficult application resource storage and indexing, and explore how to do deep path obfuscation and resource streamlining, so as to achieve the purpose of further optimization of Android installation package.
作者
刘文娟
李金虎
LIU Wenjuan;LI Jinhu(Guangzhou College of Technology and Business,Guangzhou Guangdong 510000,China)
出处
《信息与电脑》
2022年第21期66-69,共4页
Information & Computer