I have installed same application over the old one. Most of the devices working as expected, but some of them are showing two launcher icons and that two are pointing to same app. One of my client reporting this issue and I can't recreate it. How can I solve it. please help me anyone.Thanks in advance.

1

There are 1 answers

0
roconmachine On

Please check you Manifest file that you added two activity as launcher category. like

<activity
        android:name=".MainActivity"
        >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".MainActivity"
        android:label="@string/title_activity_main" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

This is the reason that you have two different launcher icon for same application.

thanks