diff --git a/Makefile b/Makefile
index c49cf527c..bce3f7e1f 100644
--- a/Makefile
+++ b/Makefile
@@ -89,7 +89,7 @@ update-project:
touch default.properties
generate-apk:
- rm -f bin/Linphone.ap_ #work around to avoid aptbuilder failure
+ ant partial-clean
ant debug
install-apk: generate-apk
diff --git a/custom_rules.xml b/custom_rules.xml
index 386fd595f..5002ce910 100644
--- a/custom_rules.xml
+++ b/custom_rules.xml
@@ -35,6 +35,10 @@
+
+
+
+