Task: Manually add a Java module in Android Studio
Steps
- Switch to Project view.
- In the project root folder, create a folder with a unique identifiable name for the module. This folder becomes the root folder for the module.
- Within the module's root folder, create a
src/main/java
folder. - Within the module's root folder, create a
build.gradle
file. - Within the module's
build.gradle
, insert the following two lines: