开发者

Why do I get two icons for my application after an upgrade?

开发者 https://www.devze.com 2023-03-28 06:09 出处:网络
I created an Android application and published it on the Android Market. When I upgrade to higher version, then do开发者_高级运维 update to my phone, there are now two application icons for my applic

I created an Android application and published it on the Android Market.

When I upgrade to higher version, then do开发者_高级运维 update to my phone, there are now two application icons for my application.

Why does this happen?


Applications are identified using package name. You must have used 2 different package name for both applications.

or 2 different entry points in your manifest in that case check whetehr you have specified launcher for 2 activities in your application as below. if so only allow the entery point of your application to have launcher.

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

精彩评论

暂无评论...
验证码 换一张
取 消