问题
我的RN应用程序启动后立即崩溃(在发布模式下),我不知道为什么。 我想构建该应用程序的调试版本,以显示遇到的错误。
我尝试了什么
react-native bundle --platform android --dev true --entry-file index.android.js \
--bundle-output android/app/src/main/assets/index.android.bundle \
--assets-dest android/app/src/main/res/
./gradlew assembleDebug
但是,当我这样做时,调试版本仍在从开发服务器读取。