Debugging applications from crashes

I am new to reacting to my native language, and I am trying to install a reciprocal native SDK for Facebook so that I can connect to Facebook using my application.

I followed these steps: https://tylermcginnis.com/installing-the-facebook-sdk-into-a-react-native-android-and-ios-app/

The problem is that when you run run-android with forced processing, the application immediately resets. How to debug this failure? I do not know where to look for crash logs. Running reaction-native log-android does not show me anything useful.

Edit:

I know this is a Java problem, not a JS problem. How can I find Java emergency logs?

+5
source share
1 answer

To see Java logs, open AndroidStudio and click AndroidMonitor at the bottom of the screen.

I managed to see a trace of the accident stack. My problem is that I need to set a valid facebook app id in AndroidManifest.

+13
source

Source: https://habr.com/ru/post/1265934/


All Articles