I have
- One main project that defines
<action android:name="android.intent.action.MAIN" /> and <category android:name="android.intent.category.LAUNCHER" /> - Several library projects, some of which define
<action android:name="android.intent.action.MAIN" /> and <category android:name="android.intent.category.LAUNCHER" />
As long as I use Eclipse to create and run one main project with several library projects, only 1 application will be installed.
However, if I go to Android Studio to create and run one main project with several library projects, several applications will be installed .
depending on how many projects (regardless of the projects of the main project or library) determine <action android:name="android.intent.action.MAIN" /> and <category android:name="android.intent.category.LAUNCHER" />
I was wondering if there is some kind of configuration that I did wrong in Android Studio that forces me to install several applications when I build and run projects?
Currently, my only workaround is to remove these lines ( <action android:name="android.intent.action.MAIN" /> and <category android:name="android.intent.category.LAUNCHER" /> ) from all projects of the AndroidManifest.xml library. Is this a generic and proper way to import project libraries into Android Studio? Like in Eclipse, these lines do not install additional applications on my device.
This is what my project structure looks like

As you see the first icon of the folder, it looks different than the other icons in the folder. I assume this means that the first icon of the folder is the main project, the others are library projects.
If there is only one core project, how can multiple applications be installed?
source share