Fede Berco
Fede Berco

Reputation: 71

Xamarin Android installs 3 times the same app on VS Emulator

Every time I debug, it installs 3 apps. I don't have idea why.

Image of emulator

AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto">
    <uses-sdk android:minSdkVersion="10" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <application android:theme="@style/Theme.Trunk"></application>
</manifest>

Upvotes: 1

Views: 26

Answers (1)

Cheesebaron
Cheesebaron

Reputation: 24460

As pointed out in the comments. You have probably copied the [Activity] attribute from somewhere and included MainLauncher = true in two other Activities.

Remove MainLauncher = true from those Activities and it should only show one launcher.

Upvotes: 1

Related Questions