dubking India
dubking India

Reputation: 35

Android application is installing 2 times in device

I am getting multiple applications(with the same name) while installing this application, if I uninstall one other one gets deleted, in the beginning, the count was three but after making changes the count is two, now I want only single app ....how do ideal with this?

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mypc.panjabisamajapp">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<application
    android:allowBackup="true"
    android:hardwareAccelerated="false"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity android:name=".MainActivity" />
    <activity android:name=".LoginActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name=".GirlsBoys">
    </activity>
    <activity android:name=".RegistrationForm" />
    <activity android:name=".UploadPhoto" />
    <activity android:name=".PopupOccupation" />
    <activity android:name=".ContactDetailsForm" />
    <activity android:name=".ParticularsForm" />
    <activity android:name=".UserProfile" />
    <activity android:name=".DisplayCardResult" />
    <activity android:name=".ZoomImage" />
    <activity android:name=".MenuActivity" />
    <activity android:name="com.example.mypc.panjabisamajapp.MailBox"></activity>
    <activity android:name=".ChatWindow" />
    <activity android:name=".EditPProfile" />
    <activity android:name=".UpdateDetails">
    </activity>

    <meta-data
        android:name="preloaded_fonts"
        android:resource="@array/preloaded_fonts" />


</application>

Upvotes: 0

Views: 1497

Answers (2)

EMEM
EMEM

Reputation: 3148

If the app names are the same the reason can be using multiple launcher intent in your manifest file. Check your merged manifest file instead of application manifest file.

Upvotes: 2

Sanju
Sanju

Reputation: 11

i think u must have used this intent filter twice in multiple activities.check your manifest file

Upvotes: 0

Related Questions