3

JS code log can be seen on Chrome, but where do you see the log generated in the Java code?

Ok, I got the answer - using "adb logcat", but how do you debug the Java code? Is there a tool that can be used for react-native development?

2

2 Answers 2

6

Thanks to @Dave Newton, using from console via "adb logcat"

Sign up to request clarification or add additional context in comments.

Comments

0

You have a logcat in android studio as well as eclipse.

3 Comments

I am not using that. I'm running from console via "react-native run-android"
Your question is somewhat a duplicate of stackoverflow.com/questions/30115372/…
You may also connect your device to pc and run chrome browser and in the url type chrome://inspect

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.