第一次启动APP时
- 发布:2023-11-06 10:13
- 更新:2026-08-21 16:15
- 阅读:2968
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 3.95
手机系统: Android
手机系统版本号: Android 13
手机厂商: 一加 ace2 pro
手机机型: PHK110
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
不要显示第一个启动界面
不要显示第一个启动界面
实际结果:
出现两个启动界面,第一个界面中间是个大log。第二个界面才是正常的启动界面
出现两个启动界面,第一个界面中间是个大log。第二个界面才是正常的启动界面
bug描述:
一、问题描述:
自定义启动页时、一加手机出现两个启动界面,第一个界面中间是个大log。第二个界面才是正常的启动界面。小米,华为手机测试正常没有发现问题。
二、项目中manifest中的App启动界面配置请看附件图片:
三、问题现象请看附件录屏:
最佳回复
旧时光 (作者) - 我是一位6年+前端开发的技术人员
解决方案:https://ask.dcloud.net.cn/question/174840?notification_id-1348602rf-falseitem_id-260270__answer_id-260270__single-TRUE#!answer_260270
自定义启动图时,先弹出 自定义的启动图,然后再弹出一个 满屏的 logo。 这是什么情况呢?
-
旧时光 (作者)
解决方案:https://ask.dcloud.net.cn/question/174840?notification_id-1348602rf-falseitem_id-260270__answer_id-260270__single-TRUE#!answer_260270
2025-01-02 10:06
这样修改了 重新打包还是没效果
-
旧时光 (作者)
“app-plus -> distribute -> splashscreen -> 增加androidTranslucent节点,值为true ”
2026-03-05 17:41
-
-
请问现在解决了嘛,我也也遇到了同样的问题,卡主2个月了
-
旧时光 (作者)
“app-plus -> distribute -> splashscreen -> 增加androidTranslucent节点,值为true ”
解决了
2026-08-24 09:48
-
回复 旧时光:刚打包试过了在oppo部分手机会出现短暂先白后黑然后再显示自定义启动页,以下是代码片段,请大佬指点: "distribute" : {
"splashscreen" : {
"android" : {
"image" : "static/images/Launch/Launch-mywhdpi.png",
"hdpi" : "static/images/Launch/Launch-mywhdpi.png",
"xhdpi" : "static/images/Launch/Launch-mywhdpi.png",
"xxhdpi" : "static/images/Launch/Launch-mywhdpi.png",
"permissionExternalStorage" : {
"request" : "none",
"prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
}
},
"ios" : {
"iphone" : {
"portrait-896h@3x" : "",
"landscape-896h@3x" : ""
},
"storyboard" : "static/images/Launch/CustomStoryboard.zip"
},
"androidStyle" : "default",
"iosStyle" : "storyboard",
"useOriginalMsgbox" : true,
"androidTranslucent" : true,
"androidSplashType" : "none"
},2026-08-24 10:16


[已删除]
楼主相关信息:刚刚了解到这个是需要做android12启动页适配 (具体可以百度:android12启动页适配 SplashSreen) 这个是安卓12后的新特性,相关文章:https://juejin.cn/post/7026188311198695432
2023-12-25 11:04