当我运行Analyze App size...
插件时,我在 Android Studio 中得到关注。
Place large file app/src/main/res/drawable/my_activity.xml inside an on demand dynamic-feature to avoid bundling in api
Adding large files to an on demand dynamic-feature will allow you to still use the file in your app without including it in your initial download size.
我不确定如何使用针对特定 .xml 和图像资源的按需动态功能来实现这一点。
对此的任何建议都将受到高度赞赏。