Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read the source code for what `react-native run-android` is doing?

Tags:

react-native

I want to see what react-native run-androidis doing under the hood. where can I read what this is doing?

like image 325
CommonSenseCode Avatar asked Apr 24 '26 21:04

CommonSenseCode


1 Answers

React Native is open source, so you can find the code for the CLI on Github: https://github.com/facebook/react-native/blob/master/local-cli/runAndroid/runAndroid.js

If you prefer to check it locally, you can find the code in your RN project under node_modules/react-native/ where the run-android code is in local-cli/runAndroid/runAndroid.js.

like image 70
kevinpelgrims Avatar answered Apr 29 '26 03:04

kevinpelgrims



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!