-
Notifications
You must be signed in to change notification settings - Fork 26
Run or Debug Saral App from Android Studio
Dileep Gadiraju edited this page Nov 29, 2021
·
3 revisions
Open Terminal and clone source code
git clone https://github.com/Sunbird-Saral/Project-Saral.git
Change Directory to
Project-Saral/
folder and switch to release tag as per release notes.git checkout tags/<tag_name>
%FRONTEND_FOLDER% or $FRONTEND_FOLDER = Project-Saral/v1.0/frontend
%BACKEND_FOLDER% or $BACKEND_FOLDER = Project-Saral/v1.0/backend
Make sure Developer Environment Setup is done.
-
Open
$FRONTEND_FOLDER/SaralApp/android folder
from Android Studio. -
Run
react-native start
command from Terminal in$FRONTEND_FOLDER/SaralApp
directory. -
Run
adb reverse tcp:8081 tcp:8081
from another terminal -
Now click on the
Run
orDebug
button from Android studio. -
When you are debugging, have debug breakpoints in android code as needed for troubleshooting.