React Native App keeps closing after opening it without crashing

烂漫一生 提交于 2020-03-25 18:40:24

问题


I published my .apk file using the link https://reactnative.dev/docs/signed-apk-android and I installed it on my android device. When I open it, it immediately gets closed, it doesn't crash but doesn't open.

Can anyone please help?


回答1:


The best way to trace this will be using adb, either print adb log OR connect your device with release build via usb, open your project in Android studio, run app & check logs

For reference https://medium.com/@impaachu/react-native-android-release-build-crash-on-device-14f2c9eacf18



来源:https://stackoverflow.com/questions/60428486/react-native-app-keeps-closing-after-opening-it-without-crashing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!