Yes, you can create an additional application module:
- First, create a standard Android phone and tablet project, including an automatically created app module.
- Add a new application module: File> New> New module ...> Phone and tablet module
- Finish the wizard and provide the app2 app name .
You will now have both applications and app2 in the same project.
To really launch app2 , you first need to select it from the drop-down menu on the top toolbar of Android Studio, next to the Start and Debug icons. You can also do this, although Run Configurations: Run> Run ...> Edit Configurations ... and modifying Module.
Or instead, you can create an additional library module (for individual code or shared code shared among applications and / or other projects):
- Add a new library module: File> New> New Module ...> Java Library.
- Complete the wizard and give the library a good name, such as libgoodstuff .
Now libgoodstuff and the application will be in the same project.
Stephan henningsen
source share