Why Android Shows the Package Name Instead of the App Name
If your Android app appears with a normal name before installation, but after installation it shows something like com.svc.filemanager.MainActivity in the package installer, it means the <application> tag in your AndroidManifest.xml is missing a proper android:label attribute.
The Android Launcher uses the label of your LAUNCHER activity, but the Package Installer and Settings β Apps use the label defined on the <application> tag. If it is not defined, Android falls back to your package name.
Common Reason for This Issue
- No android:label defined on the application tag.
- Misconfigured android:name for your custom Application class.
- Using activity label instead of application label.
This is why the installer shows the wrong name, while the Launcher shows the correct app name.
How to Fix the App Name Showing as Package Name
You simply need to define the app name on the <application> tag and ensure your custom Application class name is correct.
β Correct Manifest Example
<application android:name=".MyApp" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher" android:supportsRtl="true" android:theme="@style/Theme.SVFileManager"> <activity android:name=".MainActivity" android:label="@string/app_name" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity></application>
Why This Fix Works
- android:label under <application> sets the name shown in:
- Package Installer
- Settings β Apps
- App Info
- Your Launcher icon name comes from the Activity label.
- Using .MyApp ensures Android finds your custom Application class properly.
Extra Tips
- Make sure @string/app_name exists in strings.xml.
- Reinstall the app or increment versionCode to test changes.
- You can inspect the final APK using:
aapt dump badging yourapp.apk | grep application-label
Conclusion
If your installed Android app shows a package name like com.svc.filemanager.MyApp instead of the real app name, itβs simply because the application label is missing or misconfigured. Adding android:label="@string/app_name" to your <application> tag instantly fixes it.
With the correct application label and Application class name, the installer, system settings, and launcher will all show the proper app name.