Sathya Apps
Sathya Apps

Reputation: 45

android - Installed app section shows package name instead of app name for my own application

Screen shot of installed app section I created an small puzzle app. I created the android:label as Math. After installing the app in menu grid it shows as "Math", but in the installed apps section it shows the package name. Pls help me out.

Manifest code

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tam.prasanth.MathFunDemo" >

    <uses-permission android:name="android.permission.INTERNET" />
    <application
        android:allowBackup="true"
        android:icon="@drawable/logo"
        android:supportsRtl="true"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

Upvotes: 3

Views: 2731

Answers (2)

Jaypal Rana
Jaypal Rana

Reputation: 277

Please specify android:label="@string/app_name" tag in application tag. And also set value of app_name in string.xml to your application name (Math).`

Upvotes: 0

Kosh
Kosh

Reputation: 6334

the application name (label) should be within the application tag and not the activity.

<application 
android:label="@string/app_name"
>
....

Upvotes: 8

Related Questions