I’m a newbie programming for android, I made a simple game some days ago and I tried to install it in a tablet(Android 4.0).
The program works ok, but I got four(4) icons of my app after installation and only one of them is correct(third).
I just want to know how I can to solve this bug so that when I install it in another device it runs ok and get only one icon.
Thanks in advance.
means you have declared more then one Activity in
AndroidManifest.xmlas launch Activity. to show only one Activity as launcher you will need to declare only one Activity withandroid.intent.action.MAINandandroid.intent.category.LAUNCHERintent-filter.Declare Main Activity which u want to show in Launcher as:
and other 3 Activity declare as in
AndroidManifest.xmlas :