Preinstall large jar to android emulator for other android application, such as preinstall scala-library to emulator to avoid deploy and proguard scala library when develop android application with scala.
Proguard and Dex large jar (than 5M) is very slow when develop android application, so preinstall large jar to android emulator will make development more productive. Besides, dx will throw expception for large jar, so you have to split large jar to deploy it even you don't want preinstall it. One typical scenario is develop android application with scala, it's very slowly to proguard scala-library.jar.
git clone https://github.com/hyysguyang/android-jar-preinstaller.git cd android-jar-preinstaller && mvn install
You can use it after build it
java -jar target/android-jar-preinstaller-1.0-SNAPSHOT-jar-with-dependencies.jar scala-library.jar default-avd