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

Asked

Viewed 642 times

2

I am using Android Studio, while I run emular to install the apk, during the installation occurs to install more than once the app, getting two icons (two apps). How to solve this?

  • It is not better to uninstall the application via 'ADB'?

  • Just delete the app.

  • Ask titles and clearer questions, see how other people (with more experience) ask the questions, so it makes it easier to answer.

2 answers

2


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

This is because there must be two Activity’s set as MAIN

Check if in your AndroidManifest as Activity’s with the following intent-filter:

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
 </intent-filter>
  • Thanks I managed to solve my problem was this same.... vlw

0

Run on the terminal:

adb uninstall br.com.seuapp

Then do the deploy normally.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.