Running On Device from android studio run option (instead of react-native run-android command)
10,758
I had the same problem.
Solution
- Open your project in Android Studio
- Start react native packager by typing
react-native start
(it will pop-out a terminal for js-bundling) - In android studio "Run" your App. (In case you want to use break-points "Debug-Run" your App.)
- You are Done.
Related videos on Youtube
Comments
-
Praveen almost 2 years
is there any way or framework to
Running On Device
from android studio to run option to launch the app. (instead of react-native run-android command)I don't see any stuff like that from React-Native Docs.
Update: i got some info after my research. i am seeing there is a possibility to create/modify a gradle task which can run the yarn commands to launch my app. will keep posted.