My app is not showing the name from the manifest file












-1















I'm currently doing some testing on my android app, but without being plugged in by USB cable to my laptop. On my "app list" (the one you get by pressing the 3x3 grid of white dots on the bottom centre of the home screen of your phone), I can see my app - the icon is showing but the app name isn't. I've included my manifest and strings file - can anyone see what is wrong please? It doesn't seem to be taking the label tag from the application section in the manifest



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

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />


<application
android:allowBackup="true"
android:icon="@drawable/custommarkerblank"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />

<activity
android:name=".Excursions"
android:label="">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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


</application>

</manifest>


The strings file (with the API key removed) is this:



<resources>
<string name="app_name">Excursions</string>
<string name="title_activity_excursions"></string>
</resources>









share|improve this question

























  • This is beacuse the laucher activity also has no label! Try adding a label

    – Gourav
    Jan 1 at 15:34











  • Thank you, it works now. I feel foolish for asking this, but in my research on this (including posts here on StackOverflow), it is the application section that is mentioned in regard to this problem, and not the area for activity. I wonder why?

    – Paul Lee
    Jan 1 at 15:42
















-1















I'm currently doing some testing on my android app, but without being plugged in by USB cable to my laptop. On my "app list" (the one you get by pressing the 3x3 grid of white dots on the bottom centre of the home screen of your phone), I can see my app - the icon is showing but the app name isn't. I've included my manifest and strings file - can anyone see what is wrong please? It doesn't seem to be taking the label tag from the application section in the manifest



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

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />


<application
android:allowBackup="true"
android:icon="@drawable/custommarkerblank"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />

<activity
android:name=".Excursions"
android:label="">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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


</application>

</manifest>


The strings file (with the API key removed) is this:



<resources>
<string name="app_name">Excursions</string>
<string name="title_activity_excursions"></string>
</resources>









share|improve this question

























  • This is beacuse the laucher activity also has no label! Try adding a label

    – Gourav
    Jan 1 at 15:34











  • Thank you, it works now. I feel foolish for asking this, but in my research on this (including posts here on StackOverflow), it is the application section that is mentioned in regard to this problem, and not the area for activity. I wonder why?

    – Paul Lee
    Jan 1 at 15:42














-1












-1








-1








I'm currently doing some testing on my android app, but without being plugged in by USB cable to my laptop. On my "app list" (the one you get by pressing the 3x3 grid of white dots on the bottom centre of the home screen of your phone), I can see my app - the icon is showing but the app name isn't. I've included my manifest and strings file - can anyone see what is wrong please? It doesn't seem to be taking the label tag from the application section in the manifest



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

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />


<application
android:allowBackup="true"
android:icon="@drawable/custommarkerblank"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />

<activity
android:name=".Excursions"
android:label="">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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


</application>

</manifest>


The strings file (with the API key removed) is this:



<resources>
<string name="app_name">Excursions</string>
<string name="title_activity_excursions"></string>
</resources>









share|improve this question
















I'm currently doing some testing on my android app, but without being plugged in by USB cable to my laptop. On my "app list" (the one you get by pressing the 3x3 grid of white dots on the bottom centre of the home screen of your phone), I can see my app - the icon is showing but the app name isn't. I've included my manifest and strings file - can anyone see what is wrong please? It doesn't seem to be taking the label tag from the application section in the manifest



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

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />


<application
android:allowBackup="true"
android:icon="@drawable/custommarkerblank"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />

<activity
android:name=".Excursions"
android:label="">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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


</application>

</manifest>


The strings file (with the API key removed) is this:



<resources>
<string name="app_name">Excursions</string>
<string name="title_activity_excursions"></string>
</resources>






android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 1 at 18:05









Fantômas

32.7k156389




32.7k156389










asked Jan 1 at 15:32









Paul LeePaul Lee

102




102













  • This is beacuse the laucher activity also has no label! Try adding a label

    – Gourav
    Jan 1 at 15:34











  • Thank you, it works now. I feel foolish for asking this, but in my research on this (including posts here on StackOverflow), it is the application section that is mentioned in regard to this problem, and not the area for activity. I wonder why?

    – Paul Lee
    Jan 1 at 15:42



















  • This is beacuse the laucher activity also has no label! Try adding a label

    – Gourav
    Jan 1 at 15:34











  • Thank you, it works now. I feel foolish for asking this, but in my research on this (including posts here on StackOverflow), it is the application section that is mentioned in regard to this problem, and not the area for activity. I wonder why?

    – Paul Lee
    Jan 1 at 15:42

















This is beacuse the laucher activity also has no label! Try adding a label

– Gourav
Jan 1 at 15:34





This is beacuse the laucher activity also has no label! Try adding a label

– Gourav
Jan 1 at 15:34













Thank you, it works now. I feel foolish for asking this, but in my research on this (including posts here on StackOverflow), it is the application section that is mentioned in regard to this problem, and not the area for activity. I wonder why?

– Paul Lee
Jan 1 at 15:42





Thank you, it works now. I feel foolish for asking this, but in my research on this (including posts here on StackOverflow), it is the application section that is mentioned in regard to this problem, and not the area for activity. I wonder why?

– Paul Lee
Jan 1 at 15:42












3 Answers
3






active

oldest

votes


















0














This is beacuse the laucher activity also has no label! Try adding a label.






share|improve this answer































    1














    Your Launcher activity has no label, try to add label for the launcher activity.






    share|improve this answer































      1














      that label needs a string resource assigned:



      android:label="@string/app_name"


      or when there are several launch-able activities:



      android:label="@string/title_activity_excursions"





      share|improve this answer























        Your Answer






        StackExchange.ifUsing("editor", function () {
        StackExchange.using("externalEditor", function () {
        StackExchange.using("snippets", function () {
        StackExchange.snippets.init();
        });
        });
        }, "code-snippets");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "1"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53996687%2fmy-app-is-not-showing-the-name-from-the-manifest-file%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        This is beacuse the laucher activity also has no label! Try adding a label.






        share|improve this answer




























          0














          This is beacuse the laucher activity also has no label! Try adding a label.






          share|improve this answer


























            0












            0








            0







            This is beacuse the laucher activity also has no label! Try adding a label.






            share|improve this answer













            This is beacuse the laucher activity also has no label! Try adding a label.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 1 at 15:45









            GouravGourav

            6011528




            6011528

























                1














                Your Launcher activity has no label, try to add label for the launcher activity.






                share|improve this answer




























                  1














                  Your Launcher activity has no label, try to add label for the launcher activity.






                  share|improve this answer


























                    1












                    1








                    1







                    Your Launcher activity has no label, try to add label for the launcher activity.






                    share|improve this answer













                    Your Launcher activity has no label, try to add label for the launcher activity.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 1 at 15:39









                    Habib MhamadiHabib Mhamadi

                    357




                    357























                        1














                        that label needs a string resource assigned:



                        android:label="@string/app_name"


                        or when there are several launch-able activities:



                        android:label="@string/title_activity_excursions"





                        share|improve this answer




























                          1














                          that label needs a string resource assigned:



                          android:label="@string/app_name"


                          or when there are several launch-able activities:



                          android:label="@string/title_activity_excursions"





                          share|improve this answer


























                            1












                            1








                            1







                            that label needs a string resource assigned:



                            android:label="@string/app_name"


                            or when there are several launch-able activities:



                            android:label="@string/title_activity_excursions"





                            share|improve this answer













                            that label needs a string resource assigned:



                            android:label="@string/app_name"


                            or when there are several launch-able activities:



                            android:label="@string/title_activity_excursions"






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jan 1 at 16:16









                            Martin ZeitlerMartin Zeitler

                            17.7k34270




                            17.7k34270






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Stack Overflow!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53996687%2fmy-app-is-not-showing-the-name-from-the-manifest-file%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Mossoró

                                Error while reading .h5 file using the rhdf5 package in R

                                Pushsharp Apns notification error: 'InvalidToken'