forked from stealthyinc/messenger
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Android.txt
24 lines (17 loc) · 1.06 KB
/
README.Android.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Running Android in Studio With a Debugger
********************************************************************************
1. To get Android working, open a separate terminal in this directory. Then run the metro bundler:
npm run start
2. Open a Chrome tab to http://localhost:8081/debugger-ui/
- if you don't do this, it will open to some address that doesn't work in the next step.
3. Press debug play (the play button with the gear) in Android studio after opening the project.
4. Press Cmd + M to get the react menu in the emmulator and select debug, hot reload, and live reload
If you need to paste things into the emulator and the paste operation is doing strange things, use this command:
- adb shell input text "<some text>"
Running Android from the Command Line
********************************************************************************
From the stealthyMobile folder:
react-native run-android
(Doesn't work from another folder)
If this is still an issue:
https://github.com/magicismight/react-native-root-toast/pull/56/files