Breaking News

Android studio install apk twice in device

Android studio install apk twice in device


The app is not installed twice. You are not looking at apps. You are looking at launchable activities, ones with this <intent-filter>:

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

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
You have two activities with that <intent-filter>, and so you will have two activities in the home screen launcher. If you do not want both of those activities in the home screen launcher, remove that <intent-filter> from one of them.

No comments