# Modularization - How to approach

DevFeed: [Modularization - How to approach](<https://devfeed.tech/articles/modularization-how-to-approach-28680.md>)

Original publisher: [Read original article](<https://jeroenmols.com/blog/2019/04/24/modularizationhow/>)

Author: info@jeroenmols.com (Jeroen Mols)

Published: 2019-04-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Jeroen Mols](<https://devfeed.tech/sources/jeroen-mols.md>)

Topics: [modules](<https://devfeed.tech/topics/modules.md>), [Library](<https://devfeed.tech/topics/library.md>), [legacy](<https://devfeed.tech/topics/legacy.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [android-library](<https://devfeed.tech/tags/android-library.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [blogs](<https://devfeed.tech/tags/blogs.md>), [code](<https://devfeed.tech/tags/code.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [library](<https://devfeed.tech/tags/library.md>), [migrate](<https://devfeed.tech/tags/migrate.md>), [modularization](<https://devfeed.tech/tags/modularization.md>), [modules](<https://devfeed.tech/tags/modules.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

## AI overview

This tutorial explains two strategies for gradually modularizing an existing Android app: converting the old app into a library and pulling code up, or keeping the old app in place and pushing modules down. It describes the trade-offs and migration challenges of each approach, including legacy dependencies and upfront changes.

## Source excerpt

Now that we have a clear idea of how a modularized app could look like how can this be applied to an existing app? Part four will dive deeper into how existing apps can be sliced and how you can gradually migrate to a fully modularized architecture.