Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid APK size big - how to keep autoupdate size small?
    text
    copied!<p>The android app I am currently writing for my company requires an autoupdate feature that can also be used over the cellular network. So the APK must be as small as possible to ensure small update sizes. Currently my app is 10MB in size and that is too much according to the company. I cannot strip any libraries from the project. Unfortunately my app uses severial library that I fear makes up most of the APK size. I suggested only allowing WLAN updates but unfortunately the company does not agree.</p> <p>Questions: 1. Is there not the possibility to transfer only patches as an update to an existing APK, or must the whole APK always be replaced? I mean patches are kind of common on the PC side. 2. can I not externalize libraries instead of including them in the APK, so that the update only includes non-library stuff?</p> <p>Note: the app will NOT be available in the play store, so a custom update mechanism will need to be written.</p> <p>Any suggestions would be welcome.</p> <p>EDIT:</p> <p>Using</p> <pre><code>actionbarsherlock "C:\Users\alex\workspace\mobile_service\libs\httpclient-4.2.1.jar" "C:\Users\alex\workspace\mobile_service\libs\httpcore-4.2.1.jar" "C:\Users\alex\workspace\mobile_service\libs\httpmime-4.2.1.jar" "C:\Users\alex\workspace\mobile_service\libs\joda-time-2.1.jar" "C:\Users\alex\workspace\mobile_service\libs\joda-time-2.1.jar.properties" "C:\Users\alex\workspace\mobile_service\libs\mail.jar" "C:\Users\alex\workspace\mobile_service\libs\ormlite-android-4.42.jar" "C:\Users\alex\workspace\mobile_service\libs\ormlite-android-4.42.jar.properties" "C:\Users\alex\workspace\mobile_service\libs\ormlite-core-4.42.jar" "C:\Users\alex\workspace\mobile_service\libs\ormlite-core-4.42.jar.properties" "C:\Users\alex\workspace\mobile_service\libs\reflections-0.9.5.jar" "C:\Users\alex\workspace\mobile_service\libs\reflections-0.9.5-javadoc.jar" "C:\Users\alex\workspace\mobile_service\libs\reflections-0.9.5-sources.jar" "C:\Users\alex\workspace\mobile_service\libs\saripaar-11242012.jar" "C:\Users\alex\workspace\mobile_service\libs\activation.jar" "C:\Users\alex\workspace\mobile_service\libs\additionnal.jar" "C:\Users\alex\workspace\mobile_service\libs\apache-mime4j-core-0.7.2.jar" "C:\Users\alex\workspace\mobile_service\libs\commons-lang3-3.1.jar" "C:\Users\alex\workspace\mobile_service\libs\gson-2.2.2.jar" "C:\Users\alex\workspace\mobile_service\libs\guava-14.0-rc1.jar" </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload