I use
react-native bundle --entry-file "index.android.js" --platform "android" --bundle-output "./assets/index.android.bundle" --verbose
to package the JS code bundle and put it into assets, it works but the local Image resources can't be displayed, the local image resources located in ./App/Img/
folder, and be used in:
const icon1 = require('./App/Img/slider.png');
How can I bundle this resource files too so that I can generate a single running apk.