White Screen when loading app in Android Studio

0

I'm using visual studio to create a mobile app. I used the command "ionic cordova run android" to load into my emulator in android studio my application. Apparently it seems to be going, but it only stays on white screen.

I'm using jdk 8, in version 9 it does not even appear on the white screen, but with 8 it looks like it's starting my application, but the screen goes blank.

  • Android Studio 3.0.1

Note: There are no errors in my console.

Thanks in advance!

    
asked by anonymous 05.03.2018 / 13:36

1 answer

1

I discovered my problem, it was white screen so I decided to open it via browser, I gave the command:

"ionic serve"

presented errors because I was not commenting a few lines of code (lines that I wrote annotation), I commented and solved the problem.

I used the command:

ionic cordova platform add android

ionic cordova run android

Then I opened my application on the Nexus 5x and Nexus 5.

I'm running android studio 3.0.1, and jdk 8

    
05.03.2018 / 14:53