JoelFan
JoelFan

Reputation: 38714

Does the Android Support Library duplicate code in each app?

I have seen the question How Android Support Library work? however it does not answer the question of whether each app that uses the same support library causes the duplication of code, and thus uses up space on the device. For example, if the support library is 1MB, and 7 apps use it, does that use an extra 1MB or 7MB, or some other amount?

Also, if my app uses only part of the support library, does all of it need to be installed on the device?

Upvotes: 0

Views: 71

Answers (1)

tyczj
tyczj

Reputation: 73996

yes each app has its own support library and if you use pro guard or the new minify in android studio it does not install the whole library, otherwise yes it does

Upvotes: 2

Related Questions