黑色闪屏 - PhoneGap的生成(Android版) [英] Black splash screen - Phonegap Build (Android)
本文介绍了黑色闪屏 - PhoneGap的生成(Android版)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用这个code以添加我的闪屏与PhoneGap的生成配置文件:
I'm using this code to add my Splash Screen in the config file with Phonegap Build:
<gap:splash src="mdpi-logo.9.png" gap:platform="android" gap:qualifier="mdpi" />
<gap:splash src="hdpi-logo.9.png" gap:platform="android" gap:qualifier="hdpi" />
<gap:splash src="xhdpi-logo.9.png" gap:platform="android" gap:qualifier="xhdpi" />
<gap:splash src="xxhdpi-logo.9.png" gap:platform="android" gap:qualifier="xxhdpi" />
但是,当我安装我的Android上plataform的应用程序,它不工作,它显示黑屏它显示了应用程序之前。
But, when I installed my app on Android plataform, It doesn't work, It shows a black screen before it shows the app.
推荐答案
如果,可以帮助你,当我用预选赛,而不是密度,如果我想的闪屏的工作,我必须配置:
If that can help you when I used qualifier instead of density, if I want that the Splash Screen work I have to configure :
<preference name="SplashScreen" value="splash" />
而不是
<preference name="SplashScreen" value="screen" />
这篇关于黑色闪屏 - PhoneGap的生成(Android版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文