When I install apk it is installing the app more than once

2

I'm using Android Studio, while I run the emulate to install the apk, during installation occurs to install more than once the app, getting two icons (two apps). How do I resolve this?

    
asked by anonymous 01.08.2016 / 02:37

2 answers

2

If I understand correctly, when installing .apk, it creates two Apps,

This occurs because there should be two Activity's set to MAIN

Make sure your% s of% Activity% with AndroidManifest :

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
 </intent-filter>
    
01.08.2016 / 15:09
0

Run in terminal:

adb uninstall br.com.seuapp

Then deploy deploy normally.

    
01.08.2016 / 13:14