Problem: Blank screen after generating signed apk

Gökhan Oğuz
1 min readDec 12, 2018

--

If your react native android app shows a blank screen on simulator or device, probably you do not have a react.gradle file under android/app. You have to bundle the javascript package and drawable resources. Run this code to solve the problem;

mkdir android/app/src/main/assets

react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

react-native run-android

Originally published at hsplabs.com on December 12, 2018.

--

--