Android app launcher name wrong on Nexus 5 -
the name of android app shown apps menu/shortcut on homescreen wrong. instead of beingness app name, name of first activity launched. apparently, many people have solved problem answers such as: android launcher label vs. activity title
this works on devices , emulators except nexus 5 (android 4.4.4). selection of manifest file looks this:
<application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" android:name=".mainapp"> <meta-data android:name="com.facebook.sdk.applicationid" android:value="@string/app_id"/> ... <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <activity android:name="trainingactivity" android:label="@string/training_title" android:screenorientation="portrait" android:theme="@style/theme.style"> <intent-filter android:label="@string/app_name"> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity>
as per other answers, have given intent-filter label still shows name of first activity in launcher. @ present, app name right on: genymotion emulator (nexus 5, 4.4.4. , 4.4.3), htc 1 m7 (android 4.4.3), moto g (android 4.4.3) , samsung galaxy ace (2.3).
i don't have other devices test on see how persistent problem is. have restarted nexus 5, uninstalled app etc...
any help appreciated.
try delete bin folder in project(it should work) or might have given dynamic code in activity actionbar.settitle(activityname)....
android android-manifest
No comments:
Post a Comment