# Android Mini Commons - Kevin Galligan

DevFeed: [Android Mini Commons - Kevin Galligan](<https://devfeed.tech/articles/android-mini-commons-kevin-galligan-38046.md>)

Original publisher: [Read original article](<https://touchlab.co/2011-08-android-mini-commons>)

Published: 2011-08-28T04:00:00Z

Content type: article

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [IO](<https://devfeed.tech/topics/io.md>), [Code](<https://devfeed.tech/topics/code.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [files](<https://devfeed.tech/tags/files.md>), [io](<https://devfeed.tech/tags/io.md>), [proguard](<https://devfeed.tech/tags/proguard.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>)

## AI overview

The author created reduced-size Android versions of Apache Commons Lang and IO by removing substantial portions of their code. The resulting JARs were about one-third or less of their original sizes: Lang decreased from slightly over 300K to 111K, and IO from 160K to 52K.

## Source excerpt

Apologies in advance if I'm breaking the license or whatever. I really like Apache Commons stuff, specifically Lang and IO. They really help with strings, moving stuff around, etc. However, most of this stuff is designed for use on servers or where you don't care about bloat. If you use something like proguard to minimize the generated class/dex files, this may be a non-issue. However, I did it anyway.