The comment made by @Adrian C on his answer solved our problem.
The manifest file of our main application contained only one intent-filter tag that defines only one action as launch activity for the application.
So I had to look deeper ...
We included library projects (fortunately written by us), and the manifest file of one of the library projects had an intent-filter tag in its activity, indicating that the activity is the launch activity.
When we included this library project in our main application (which has its own intent-filter that defines startup activity), the full source code saw two intent-filter tags that defined two actions as startup actions, and therefore two application icons were created.
When we removed the intent-filter , indicating the launch activity in the library project, the second application launch icon disappeared.
marienke Mar 22 '17 at 6:57 2017-03-22 06:57
source share