fluttercommunity / fluttercommunity/flutter_launcher_icons

Android vector drawables not supported for foregrounds

Open
#91 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
426
PR merge metrics
No merged PRs in 30d

Description

I'd like to use a Android vector drawable file as my adaptive_icon_foreground.
When I try to, I get the message:
```
Android minSdkVersion = 16
Creating default icons Android
Overwriting the default Android launcher icon with a new icon
Creating adaptive icons Android
NoSuchMethodError: The getter 'width' was called on null.
Receiver: null
Tried calling: width
pub finished with exit code 2
```

I'm using a vector drawable generated by the official asset editor.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.