有没有人知道为什么应用程序管理器通过设置 – >应用程序管理器找到,为我的应用程序显示错误的名称?我安装了我的应用程序两次不同的名称和不同的应用程序包名称.我可以在应用程序页面看到两个命名的应用程序,但是应用程序管理器将它们显示为相同的名称.我需要知道哪个是我可以强制关闭并卸载我的应用程序的正确版本.有任何想法吗?
这是我的应用程序的DEMO版本的清单,其中string / app_name = package_DEMO:
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="my.apps.package_DEMO"
- android:versionCode="1"
- android:versionName="0.0">
- <uses-sdk
- android:minSdkVersion="10"
- android:targetSdkVersion="10"/>
- <application android:label="@string/app_name"
- android:name="my.apps.package.MyApplication"
- android:icon="@drawable/ic_launcher"
- android:theme="@style/AppTheme"
- android:launchMode="singleTask"
- android:debuggable="true">
- <activity android:label="@string/app_name"
- android:configChanges="orientation|keyboardHidden"
- android:name="my.apps.package.MainActivity">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- <activity android:label="@string/app_name"
- android:configChanges="orientation|keyboardHidden"
- android:name="my.apps.package.SettingsActivity">
- </activity>
- </application>
- </manifest>
和原来的清单,其中string / app_name = package:
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="my.apps.package"
- android:versionCode="1"
- android:versionName="0.0">
- <uses-sdk
- android:minSdkVersion="10"
- android:targetSdkVersion="10"/>
- <application android:label="@string/app_name"
- android:name="my.apps.package.MyApplication"
- android:icon="@drawable/ic_launcher"
- android:theme="@style/AppTheme"
- android:launchMode="singleTask"
- android:debuggable="true">
- <activity android:label="@string/app_name"
- android:configChanges="orientation|keyboardHidden"
- android:name="my.apps.package.MainActivity">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- <activity android:label="@string/app_name"
- android:configChanges="orientation|keyboardHidden"
- android:name="my.apps.package.SettingsActivity">
- </activity>
- </application>
- </manifest>