uniapp 制作的营业点击图标的时候 会卡一会在启动。QQ 微信等秒启动。
在安卓工程res/valurs/string.xml里面添加
放在resources节点下。在res/drawble放启动图命名为splash
在修改AndroidManifest.xml下修改
android:theme="@style/TranslucentTheme"
为
android:theme="@style/LogoTheme"
打包搞定
本文介绍如何通过在Android工程中调整string.xml和AndroidManifest.xml文件,解决uniapp应用在启动时图标加载延迟的问题,重点关注主题切换至@style/LogoTheme并放置启动图(splash)的方法,最终实现秒级启动体验。
uniapp 制作的营业点击图标的时候 会卡一会在启动。QQ 微信等秒启动。
在安卓工程res/valurs/string.xml里面添加
放在resources节点下。在res/drawble放启动图命名为splash
在修改AndroidManifest.xml下修改
android:theme="@style/TranslucentTheme"
为
android:theme="@style/LogoTheme"
打包搞定
4184
1583
503
345

被折叠的 条评论
为什么被折叠?