-
Start the Spring backend application on Heroku, while ensure that the
DEFAULT_BASE_URL
inHttpUtils
is configured accordingly. -
Click on the AVD manager button in Android Studio near the top right corner of the window
-
Add a new device with default settings.
NoteYou might be asked to download emulator files. If this happens, click OK. -
Start/Debug the application using the buttons highlighted on the figure below
-
After you select the device (in this case Nexus 5X) as deployment target, the application will automatically be deployed and started within an Android VM, and it is ready to use. Be patient, deployment and startup may take a few seconds.
-
Supply a name for a new person, then try adding it. Upon successful completion, the text field and the error message should clear.
-
Supply the same name in the text field and then try adding the person. You should get an error message on screen "Person has already been created".