diff --git a/Makefile b/Makefile
index e6b89b83d..68175f4e8 100644
--- a/Makefile
+++ b/Makefile
@@ -472,6 +472,7 @@ install-apk:
release: update-project
$(ANT) clean
patch -p1 < release.patch
+ cat ant.properties | grep version.name > default.properties
$(ANT) release
git checkout HEAD AndroidManifest.xml
diff --git a/README b/README
index 42c287a8e..1ceb2271b 100644
--- a/README
+++ b/README
@@ -25,8 +25,7 @@ To build liblinphone for Android, you must:
$ make mediastreamer2-sdk
7) (Optional) To generate a signed apk to publish on the Google Play, run
$ make release
-Make sure you filled the ant.properties values for version.name, key.store and key.alias in order to correctly
-sign the generated apk.
+Make sure you filled the ant.properties values for version.name, key.store and key.alias in order to correctly sign the generated apk.
You also may want to create a file name ant_password.properties with the following:
key.store.password=[your_password]
key.alias.password=[your_password]
diff --git a/build.xml b/build.xml
index c7297b2ab..4588f2c03 100644
--- a/build.xml
+++ b/build.xml
@@ -26,6 +26,7 @@
application and should be checked into Version Control Systems.
-->
+