In Android Studio 3 there are at least two new module types. First is Instant app module
and the second one is feature module
. With Instant App module
it's quite obvious but feature module
from my perspective is the same as the library module
. So what is the real difference between library
and feature
modules and when I should use library module
and when feature module
?
I would complete Marcin Orlowski scheme like this. You could picture library module in the same way as dependencies of a given feature or base module.
Hence the library modules will not be packaged in Instant APP APK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With