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

Instead of the Icon, only a question mark in a rectangle? #31

Open
maximilianscheffel opened this issue May 21, 2020 · 4 comments
Open

Comments

@maximilianscheffel
Copy link

I am the only one with that problem? Code same like the Example. Or any Ideas?

@2534290808
Copy link
Contributor

The pubspec in the example has the following Settings:

flutter_icons:
   includes:
      -ant

if the split_icon command is run, the example will only load the TTF of AntDesign into the package.

@ChangJoo-Park
Copy link

@2534290808 , I tried split_icon, it failed :(

❯ pub global activate split_icon

Resolving dependencies... (1.6s)
+ charcode 1.1.3
+ collection 1.14.12
+ io 0.3.4
+ meta 1.1.8
+ path 1.7.0
+ source_span 1.7.0
+ split_icon 0.3.1+1
+ string_scanner 1.0.5
+ term_glyph 1.1.0
+ yaml 2.2.1
Downloading split_icon 0.3.1+1...
Precompiling executables...
Failed to precompile split_icon:temp:
Dart_LoadScriptFromKernel: The binary program does not contain 'main'.
Precompiled split_icon:main.
Precompiled split_icon:split_icon.
❯ split_icon

zsh: command not found: split_icon

@2534290808
Copy link
Contributor

Can you provide more detailed information using theflutter doctor command?

@edisonywh
Copy link

edisonywh commented Jul 14, 2020

I am facing the same issue here, any update?

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.20.0-8.0.pre.75, on Mac OS X 10.15 19A582a, locale
    en)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.5)
[✓] Connected device (1 available)

• No issues found!

EDIT: I just tried with normal Flutter material icons, but even that doesn't work. Looks like it's a Flutter issue?

EDIT 2: Another quick update, I restarted my iOS simulator and it worked. Not sure if it had to down with me removing cupertino_icons & uses-material-design: true, but I've added them back in and it works now, YMMV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants