title: PhoneGap build android splash screen not working
body: <p>I'm having a couple of issues with the Android splash screen using PhoneGap 3.5.0. When I do a build, I'm seeing some weird results with the splash screen files in platforms/android/res:</p>
  
  <ul>
  <li>Some folders copy over the splash.png file as expected (drawable, drawable-land, drawable-hdpi, drawable-ldpi, drawable-mdpi, drawable-xhdpi)</li>
  <li>Some folders copy over splash.png and also include a default PhoneGap splash screen with the name screen.png (drawable-land-hdpi, drawable-land-ldpi, drawable-land-mdpi, drawable-land-xhdpi)</li>
  <li>Some folders only include a default PhoneGap splash screen with the name screen.png (drawable-port-hdpi, drawable-port-ldpi, drawable-port-mdpi, drawable-port-xhdpi)</li>
  </ul>
  
  <p>The second issue is that despite splash images being in the folders, when I test the app I see a black screen rather than either my custom splash screens or a default PhoneGap splash screen.</p>
  
  <p>I've found several articles around this issue, but none of the fixes worked for me. Some of the things I've tried included:</p>
  
  <ul>
  <li>Pare down the number of image options and use a 9-slice image (<a href="https://stackoverflow.com/questions/24212966/black-splash-screen-phonegap-build-android">Black splash screen - Phonegap Build (Android)</a>)</li>
  <li>Swapping :qualifier and :density in my config.xml (<a href="http://phonegap.com/blog/2014/04/11/phonegap-build-adds-some-new-features/" rel="nofollow noreferrer">http://phonegap.com/blog/2014/04/11/phonegap-build-adds-some-new-features/</a>)</li>
  <li>Adding the org.apache.cordova.splashscreen plugin</li>
  <li>Adding SplashScreen and SplashScreenDelay preferences to my config.xml (also in conjunction with the above) (<a href="https://stackoverflow.com/questions/25156326/phonegap-dont-show-splashscreen">phonegap dont show splashscreen</a>)</li>
  </ul>
  
  <p>A few other notes:</p>
  
  <ul>
  <li>The splash screen works fine in the iOS build.</li>
  <li>I'd like to solve this in the PhoneGap build... I'd like to avoid editing Android-specific files</li>
  <li>I wonder if it's possible that I need to clear out a cache somewhere. I've had success with the Android splash screen in earlier versions of this project and have since updated my versions of PhoneGap.</li>
  <li>I have a grunt-phonegap setup going, but I see the same errors if I use <code>phonegap local build</code> rather than <code>grunt platform-build</code>.</li>
  <li>My splash links look like <code>&lt;gap:splash src="www/res/screen/android/drawable-land-hdpi/splash.png" gap:platform="android" gap:qualifier="land-hdpi" /&gt;</code></li>
  </ul>
  
  <p>If anybody has any suggestions, I'd love to hear them. Thanks!</p>