为什么android应用程序图标在从Play store安装后显示两次,但在模拟器上仅显示一次
我是本地android应用程序开发人员的新手,所以想在这里征求一些建议。情况是,当我们的公司应用程序从Play store下载时,您将在设备上看到2个应用程序图标 然而,如果我通过Android Studio构建/安装设备和模拟器,我只会看到一个应用程序图标 我四处寻找并找到了建议,建议检查AppManifest.xml并确保此块只有一个ocurrance:为什么android应用程序图标在从Play store安装后显示两次,但在模拟器上仅显示一次,android,mobile,icons,Android,Mobile,Icons,我是本地android应用程序开发人员的新手,所以想在这里征求一些建议。情况是,当我们的公司应用程序从Play store下载时,您将在设备上看到2个应用程序图标 然而,如果我通过Android Studio构建/安装设备和模拟器,我只会看到一个应用程序图标 我四处寻找并找到了建议,建议检查AppManifest.xml并确保此块只有一个ocurrance: <intent-filter> <action android:name="android.intent.ac
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
我已经确认只有一个例子
那么,我还应该去哪里查看为什么通过Play store安装显示复制图标呢?还是说,既然模拟器和通过Android Studio的物理设备都还可以,我们就应该没事了,只需要等到Play store的下一个应用程序更新
如果您对此有任何建议,我们将不胜感激,干杯
编辑:这是清单(应用程序段)
您确定没有安装两个不同版本的应用程序(即一个来自商店,另一个来自Android Studio,使用不同的软件包名称)?在“设置”下查看应用程序列表。谢谢Ted。如果我删除测试设备上的应用程序以获得“干净的记录”,然后转到设置->应用程序管理器,我确认我没有看到任何对该应用程序的引用。然后,如果我只是从Play Store下载,我会看到2个图标。我想知道是否值得等到Play Store的下一次应用程序更新(接下来的几周),看看这个问题是否会消失(因为安卓Studio的安装很好)?或者是否有其他设置/XML文件等需要我检查?如果您发布整个清单可能会有所帮助。是的,我已将其添加到上述问题中。谢谢你的帮助。大家好,有人对这个问题有什么建议吗?提前感谢。您确定没有安装两个不同版本的应用程序(即,一个来自商店,另一个来自Android Studio,使用不同的软件包名称)?在“设置”下查看应用程序列表。谢谢Ted。如果我删除测试设备上的应用程序以获得“干净的记录”,然后转到设置->应用程序管理器,我确认我没有看到任何对该应用程序的引用。然后,如果我只是从Play Store下载,我会看到2个图标。我想知道是否值得等到Play Store的下一次应用程序更新(接下来的几周),看看这个问题是否会消失(因为安卓Studio的安装很好)?或者是否有其他设置/XML文件等需要我检查?如果您发布整个清单可能会有所帮助。是的,我已将其添加到上述问题中。谢谢你的帮助。大家好,有人对这个问题有什么建议吗?提前谢谢。
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:name="xxxxxx">
<!-- Splash Screen Activity -->
<activity
android:name="xxxxx"
android:label="@string/app_name_wrappable"
android:screenOrientation="portrait"
android:theme="@style/AppBaseThemeNoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Login Activity -->
<activity
android:name="xxxxxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:theme="@style/AppBaseThemeNoActionBar"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Matter List/Main Activity ************ -->
<activity
android:name="xxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:label="My Matters"
android:windowSoftInputMode="stateHidden|adjustResize"
android:launchMode="singleTask">
</activity>
<!-- Settings Login Activity -->
<activity
android:name="xxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:label="Login"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Settings Display Activity -->
<activity
android:name="xxxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:label="Display"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Settings Advanced Activity -->
<activity
android:name="xxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:label="Advanced"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Settings Change Password Activity -->
<activity
android:name="xxxxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:label="Change Password"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Matter Details Activity -->
<activity
android:name="xxxxxx"
android:theme="@style/AppBaseThemeNoActionBarWhite"
android:parentActivityName="xxxxxxxx "
android:windowSoftInputMode="stateHidden|adjustResize"
android:launchMode="singleTask" >
</activity>
<!-- Matter Tab Fragment Activity -->
<activity
android:name="xxxxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:windowSoftInputMode="stateHidden" >
</activity>
<!-- Info Activity -->
<activity
android:name="xxxxxx"
android:label="Info & Help"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Document Details Activity -->
<activity
android:name="xxxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Mark As Client Document Activity -->
<activity
android:name="xxxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Email Document Activity -->
<activity
android:name="xxxxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Print Dialog Activity -->
<activity
android:name="xxxxx"
android:label="Google Cloud Print"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Write Messages Activity -->
<activity
android:name="xxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:label="New Messages"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- About Activity -->
<activity
android:name="xxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:theme="@style/AppBaseThemeNoActionBarWhite"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- Push Notification Activity -->
<activity
android:name="xxxxx"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:label="@string/push_noti"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<!-- For Google Cloud Messaging -->
<!-- Receiver for Message from GCM -->
<receiver
android:name="xxxx"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="xxxxxxx" />
</intent-filter>
</receiver>
</application>