Android Studio Copy Module
I just copied/pasted it from within Android Studio, and that worked for me:
- In Android Studio, make sure you have the Project view selected for your Project pane.
- Select module and copy.
- Select the folder name of your project in the Project pane (this should be the name of your project and the parent directory for the module).
- Paste it in (it will ask you to rename it).
Add the new module to your settings.gradle file.
include 'old-module', "new-module"
Rebuild/sync your project (you should see another module option now)
- Run on your device/emulator.
File -> New -> Import Module -> paste module's path DONE