我的 react native 应用程序中有静态图像,通过访问
<Image source={require("../assets/preview-full-img-title-logo@2x.png")} />
在开发中它显示良好,但在生产版本 APK 中没有显示,这可能是什么原因?我已按照此处提到的步骤进行操作。
https://facebook.github.io/react-native/docs/signed-apk-android.html
请您参考如下方法:
这是为我完成此操作的命令:
react-native bundle --platform android --dev false --entry-file index.android.js\--bundle-output android/app/src/main/assets/index.android.bundle\--assets-dest android/app/src/main/res/






