Getting white-screen on emulator using cordova

666 Views Asked by At

I have developed a web application in angular.I want to convert it into android application.

Whenever I run the command "cordova run browser" it is working fine but as soon as I run the command "cordova run android" it open up the emulator complied successfully but getting white blank screen.

I have changed target as es5 in tsconfig file but nothing get happens well.

I don't know where I am getting wrong.Kindly help to solve the issue.

1

There are 1 best solutions below

1
Norbert Molnar On

I had the same problem. Not every plugin and code work correctly in phone, or in web.

Excample my plugins worked very good, but in ios i dont saw nothing.

First try build cordova build android

And my tipp is use ionic, like ionic cordova run android and try like this ionic cordova run android --no-native-run