From 1935da0a5fbb47f7273d71cade025a7bd0306f1d Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 14 Feb 2019 12:10:28 +0100 Subject: [PATCH] Updated README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index daa8c38c9..578dad770 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,23 @@ However, if you wish to use a locally compiled SDK see below how to proceed. The repository structure has also been cleaned and updated, and changing the package name can now be done in a single step. This allows developpers to keep a stable version as well as a developpment one on the same device easily. +# Building the app + +If you have Android Studio, simply open the project, wait for the gradle synchronization and then build/install the app. +It will download the linphone library from our Maven repository so you don't have to build anything yourself. + +If you don't have Android Studio, you can build and install the app using gradle directly: +``` +./gradlew assemble +``` +will compile the apk file (both debug and release, use assembleDebug or assembleRelease to only build one), and then +``` +./gradlew installDebug +``` +to install the generated apk in the previous step (use installRelease instead if you built a release package). + +APK files are stored within ```app/build/outputs/apk/debug/``` and ```app/build/outputs/apk/release```. + ## Building a local SDK 1. Clone the linphone-sdk repository from out gitlab: