0

I am trying to debug React Native's Android source code. But no matter what changes I make to the source code, it doesn't show up in logcat when running the app. Does anyone know if I have to rebuild the library itself every time I want to see a change?

On iOS any source code changes are instant.

Chisko
3,1266 gold badges29 silver badges45 bronze badges
asked Sep 27, 2017 at 19:53

1 Answer 1

2

To debug react native andriod's source code you need to make a new build everytime you change native code.

In case you make changes in react native javascript code you don't need to rebuild, just do a reload (open our app in emulator - press RR)

I hope this helps. If not please let me know more about your requirement.

answered Sep 28, 2017 at 4:28
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for your help. Do you know if there is a way to make react-native run-android to always rebuild?

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.