- Make sure the server is running locally on
8080
port. - Run
ifconfig | grep inet
in a command line and find out your local IP address there. It should look something like192.168.0.13
. - Modify
network_security_config.xml
andapplication.properties
files to use your local IP address and8080
port. - Run your application on a simulator by e.g. Android Studio.
Note: if during login via VK "redirect_uri has wrong domain, check application settings" error happens, this means that you have to update the IP address from the 2nd paragraph above in the configuration of your VK app.
- Increase the values of
versionCode
andversionName
in./app/build.gradle
. - Make sure the back end URLs are updated to
api.motivepick.com
innetwork_security_config.xml
and tohttps://api.motivepick.com
inapplication.properties
. - Specify values for
MOTIVE_RELEASE_STORE_PASSWORD
andMOTIVE_RELEASE_KEY_PASSWORD
in./gradle.properties
. If you do not have the signature file, you can use e.g. Android Studio to generate it. - Run
./gradlew clean assembleRelease
- The signed assembly should appear in
./app/build/outputs/apk/release