package - Android application manager shows wrong app name -
does know why application manager, found going settings->application manager, showing wrong name application? installed app twice under different names , different application package names. can see both named applications under apps page, application manager showing them same name. need know which can force close , uninstall correct version of application. ideas?
here's manifest of demo version of application, 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>
and original's 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>
i had problem - i.e. of app name showing incorrectly in settings->apps
i managed fix rebooting device.
my guess android application manager caching 'old' name until reboot. confirmed changing app name , redeploying - old name shows in settings->aps until reboot.
Comments
Post a Comment