How can I install react-native app on my android device locally, without publishing anything to Play Store. The app was created with create-react-native-app
command?
Asked
Active
Viewed 3,268 times
3

Filip Egeric
- 103
- 1
- 14
2 Answers
0
For installing your app locally on mobile, follow these steps
Enable developer mode in mobile.For android refer here
Connect your android phone to your system.
Follow these steps in CMD to enable platform-tools. Note: path may differ
cd C:\Users\YourFolderName\AppData\Local\Android\Sdk\platform-tools
adb devices
adb reverse tcp:8081 tcp:80814.Once your run
adb devices
you can see your device in the list.5.run your app in CMD anf App will get installed in your Mobile and check it out.
Let me know does it worked

Aravind S
- 2,347
- 2
- 12
- 21
-
It didn't work, I assume there are some steps after this that should be done? – Filip Egeric Aug 03 '18 at 18:14
-
After the 4th step, did it shows you device's list ? And don't forget to run the command to start the app in CMD in 5th step – Aravind S Aug 03 '18 at 19:11
-1
use
npm run android
For more information, see this:-
https://github.com/react-community/create-react-native-app#npm-run-android

PRERNA GUPTA
- 49
- 5
-
5This doesn't answer the question. The question was How can I install the react-native app on my android device locally – Aravind S Aug 03 '18 at 12:09