Vijay Samuel's Blog

Fixing the cordova white screen of death on Android 4.0.*

Posted on: January 7, 2015

I’ve been playing around with Drupalgap for a while now and have been very impressed with the contribution done by Tyler Frankenstein. One problem that I had run into is, when doing cross platform testing, Android 4.0.* was throwing a white screen of death. There were multiple solutions out there and experimenting with each one was a pain. I’ve finally solved the issue and here is how I got about it.

Turns out that corodova-android-3.7.0 has the fix to the white screen of death and it can be used as the cordova.js to build the target app for Android.

Follow the instructions in the below link to generate the 3.7.0 version of cordova.js:

The resultant cordova.js can be found in the source cordova-js directory under pkg/ Copy that file into platforms/android/platform_www/cordova.js and rebuild your cordova app. It should fix the issue.

Hope this helps. Cheers! 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

My Timeline

January 2015
« Sep    

I, Me and Myself

My Blog Stats

  • 7,047 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4 other followers

%d bloggers like this: