Raj
Raj

Reputation: 61

PhoneGap application display only White Screen in android device

I'm a beginner PhoneGap application development. I create PhoneGap application but showing only white screen in andorid device. Application is working on web is porperly but in android device showing only white screen.

Here below screen shot of android device after compile the apk file of phone gap application.

https://i.sstatic.net/LiZpI.png

Upvotes: 0

Views: 794

Answers (2)

J.P.
J.P.

Reputation: 165

Application is working on web is porperly but in android device showing only white screen.

Try setting <base href="www"> in your index.html. Either way you should install cordova's browser platform for local testing:

cordova platform add browser

and test your app in the browser using

cordova run browser

Upvotes: 1

Faizal Hussain
Faizal Hussain

Reputation: 1581

Was your code optimized I mean did u use bootstrap or something,if not your code can't distinguish between mobile and desktop screens(causing overflow)

Upvotes: 0

Related Questions