谷歌搞了个Android App Bundle, Unity在2018.4版本后也支持了此功能,这个能缩减不少包体大小,特别是当你接入了很多SDK的时候。我们受益于此降低了有十M多的包体。 那么Unity打出的aab文件转成apk,就需要使用工具bundletool了。
官方文档:https://developer.android.google.cn/studio/command-line/bundletool
下载地址:https://github.com/google/bundletool/releases
部分参考博客,很详细了,我也不多写了。
https://blog.youkuaiyun.com/weixin_37730482/article/details/83501586 (概述 Android App Bundle 相关的部分东西)
https://www.jianshu.com/p/d41b3752fb69 (详细描述 bundletool 工具的使用)
https://blog.youkuaiyun.com/qq_42076140/article/details/101305764 (bundletool 工具的基础使用)
原文地址:https://mp.youkuaiyun.com/postedit/102553053 转载请注明出处!