diff --git a/Makefile b/Makefile index e32b021ae..34ad2d7fe 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,9 @@ BUILD_WEBRTC_AECM=1 BUILD_FOR_X86=1 USE_JAVAH=1 -all: update-project prepare-sources install-apk run-linphone +all: update-project prepare-sources generate-apk + +install: install-apk run-linphone prepare-ffmpeg: ifeq ($(PATCH_FFMPEG),) @@ -94,7 +96,7 @@ generate-apk: ant partial-clean ant debug -install-apk: generate-apk +install-apk: ant installd release: update-project diff --git a/README b/README index 5d2094ef6..0cb50c1c3 100644 --- a/README +++ b/README @@ -8,6 +8,8 @@ To build liblinphone for Android, you must: 2bis) on some 64 bits systems you'll need the ia32-libs package 3) run the Makefile script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project. $ make +4) To install the generated apk into a plugged device, run + $ make install To create an apk with a different package name, you need to edit the custom_rules.xml file: 1) look for the property named "linphone.package.name" and change it value accordingly