Skip to content

Preinstall large size jar to android emulator for other android application, such as preinstall scala-library to emulator to avoid proguard scala library when develop android application with scala.

Notifications You must be signed in to change notification settings

hyysguyang/android-jar-preinstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

android-jar-preinstaller

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.

Why we need it?

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.

How build it?

git clone https://github.com/hyysguyang/android-jar-preinstaller.git cd android-jar-preinstaller && mvn install

How to use it?

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

About

Preinstall large size jar to android emulator for other android application, such as preinstall scala-library to emulator to avoid proguard scala library when develop android application with scala.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages