Gilbert Nwaiwu
Gilbert Nwaiwu

Reputation: 728

React-Native: Blank screen on fresh project

So I just started a new project with react-native. Standard "react-native init" etc as per the official guide.

All was fine until ran the app on my emulator. All I saw is a blank page. If I create some errors and reload I get the standard error message but when all compiles fine I just get a blank screen.

OS: Win10 RN ver: 0.44.0 RA ver: 16.0.0-alpha.6

Upvotes: 1

Views: 4608

Answers (1)

DerpyNerd
DerpyNerd

Reputation: 4813

You can try a combination of:

  1. Close the packager (let it restart at next deploy)
  2. Remove the app from emulator/device
  3. Build & deploy application again

That's what I do if I am presented with a blank screen. If it didn't help you, what is the console output if you enable remote debugging?

Upvotes: 6

Related Questions