My app is not showing the name from the manifest file
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>
add a comment |
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>
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
add a comment |
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>
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>
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
add a comment |
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
add a comment |
3 Answers
3
active
oldest
votes
This is beacuse the laucher activity also has no label! Try adding a label.
add a comment |
Your Launcher activity has no label, try to add label for the launcher activity.
add a comment |
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"
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
This is beacuse the laucher activity also has no label! Try adding a label.
add a comment |
This is beacuse the laucher activity also has no label! Try adding a label.
add a comment |
This is beacuse the laucher activity also has no label! Try adding a label.
This is beacuse the laucher activity also has no label! Try adding a label.
answered Jan 1 at 15:45
GouravGourav
6011528
6011528
add a comment |
add a comment |
Your Launcher activity has no label, try to add label for the launcher activity.
add a comment |
Your Launcher activity has no label, try to add label for the launcher activity.
add a comment |
Your Launcher activity has no label, try to add label for the launcher activity.
Your Launcher activity has no label, try to add label for the launcher activity.
answered Jan 1 at 15:39
Habib MhamadiHabib Mhamadi
357
357
add a comment |
add a comment |
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"
add a comment |
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"
add a comment |
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"
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"
answered Jan 1 at 16:16
Martin ZeitlerMartin Zeitler
17.7k34270
17.7k34270
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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