Running On Device from android studio run option (instead of react-native run-android command)

10,758

I had the same problem.

Solution

  1. Open your project in Android Studio
  2. Start react native packager by typing react-native start (it will pop-out a terminal for js-bundling)
  3. In android studio "Run" your App. (In case you want to use break-points "Debug-Run" your App.)
  4. You are Done.
Share:
10,758

Related videos on Youtube

Praveen
Author by

Praveen

Android, iOS and React Native Developer

Updated on July 29, 2022

Comments

  • Praveen
    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.