Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App launcher icon for Android not showing #59305

Closed
Thirawat14 opened this issue Jun 12, 2020 · 9 comments
Closed

App launcher icon for Android not showing #59305

Thirawat14 opened this issue Jun 12, 2020 · 9 comments
Labels
in triage Presently being triaged by the triage team

Comments

@Thirawat14
Copy link

Description

The app launcher icon for iOS is working normally, however, the app launcher icon fails to display for Android. The application can still be accessed via Android Settings --> Apps, and registered as being installed.

I've checked the res folder and nothing seems to be out of the ordinary as the images were generated with Android Studio's Asset Studio.

res-folder

app-launcher-icon-missing

Version

Flutter 1.17.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f7a6a79 (4 weeks ago) • 2020-05-12 18:39:00 -0700
Engine • revision 6bc433c6b6
Tools • Dart 2.8.2

@iapicca
Copy link
Contributor

iapicca commented Jun 12, 2020

Hi @Thirawat14
are referring to the default or custom launcher icons,
creating an launching a new project seems to work as intended;
could you please provide a
a minimal complete reproducible code sample.
Thank you

@iapicca iapicca added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Jun 12, 2020
@Thirawat14
Copy link
Author

Thirawat14 commented Jun 15, 2020

Hi @iapicca , I'm referring to custom launcher icon.

This is my pubspec.yaml

name: chess_mobile
description: A new Flutter project.

version: 1.0.0+15

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  bloc: ^4.0.0
  flutter_bloc: ^4.0.0
  http:
  flutter_localizations:
    sdk: flutter
  intl:
  flutter_svg:
  google_fonts:

  cupertino_icons: ^0.1.3
  pin_code_fields: ^3.0.1
  validators: ^2.0.0
  imei_plugin: ^1.1.6
  equatable: ^1.1.1
  pie_chart: ^3.1.1
  firebase_core: ^0.4.0+9
  firebase_analytics: ^5.0.2
  firebase_auth: ^0.16.1
  firebase_dynamic_links: ^0.5.1
  firebase_messaging: ^6.0.16
  provider: ^4.1.2
  flutter_secure_storage: ^3.3.3
  shared_preferences: ^0.5.7+3
  corsac_jwt: ^0.2.2
  persistent_bottom_nav_bar: ^1.5.5
  shimmer: ^1.1.1
  pull_to_refresh: ^1.5.8

dev_dependencies:
  flutter_driver:
    sdk: flutter

  flutter_test:
    sdk: flutter

  mockito: ^4.1.1

  bloc_test: ^5.1.0

  flutter_launcher_icons: "^0.7.3"

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "lib/assets/icons/icon.png"

flutter:
  uses-material-design: true

  assets:
    - lib/assets/images/
    - lib/assets/icons/
    - lib/assets/fonts/

  fonts:
    - family: Chess
      fonts:
        - asset: lib/assets/fonts/chess.ttf

And this is some snippet from AndroidManifest

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tamada.chessMobile">
    <application
        android:name="io.flutter.app.FlutterApplication"
        android:label="chessMobile"
        android:icon="@mipmap/ic_launcher"
        android:allowBackup="false"
        android:fullBackupContent="false">

Are there any specific files that you want me to refer to in relation to launcher icons?

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 15, 2020
@iapicca
Copy link
Contributor

iapicca commented Jun 15, 2020

HI @Thirawat14
i noticed in your yaml that you are using the 3rd party plugin flutter_launcher_icons
if these icons are generated with said plugin
please open an issue in the dedicated github

otherwise could you please provide a github repo with a minimal sample project
that does not use 3rd party plugins
Thank you

@iapicca iapicca added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 15, 2020
@Thirawat14
Copy link
Author

Hi, @iapicca Thank you for pointing me out to the sub-forum for third party plugin. I'll close the issue in this forum. I'll look for answers in that forum since it seems like there are some other people facing similar issues. Thanks!

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 15, 2020
@patzu
Copy link

patzu commented May 19, 2021

I also have this problem, could you solve this?

@MuhammadSufyanMalik
Copy link

Just Run Flutter Clean,
then Flutter Pub get,
after that you can launcher icon command, an error will be resolved.

@itxtoledo
Copy link

same issue here

@iapicca
Copy link
Contributor

iapicca commented Jun 22, 2021

@itxtoledo
this issue is more than 2 years old,
if it's the same case I'd open an issue the dedicated repo

if you are encountering the issue without 3rd party plugins
I recommend to open a new issue with a minimal code sample and you flutter doctor

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team
Projects
None yet
Development

No branches or pull requests

5 participants