Reputation: 66674
While checking out this tutorial i saw that feature modules are inside an outer module called features
. Is it possible to create such a structure with Android Studio, or is it done by creating a features folder manually and adding those feature modules manually and setting gradle file afterwards?
Upvotes: 1
Views: 2957
Reputation: 167
you can do this while mentioning module name.
First create a directory
e.g feature in root level
then Create new module
in module name:- feature:module-name
Upvotes: 3
Reputation: 5241
Not sure about it can be done by Android Studio
but the simple way following these steps
Module
as normal from Righ Click
in app
folderDirectory
with name features
, switch to Project
structure view and move your Module Directory
to features
dynamic-feature-module
you have to change in settings.gradle
file and build.gradle
app.Upvotes: 2