Skip to content

ns resources generate icons - cli script update needed to support latest Android vector graphic launchers. #5571

Closed
@LaKing

Description

@LaKing

Environment
zsh on macOS Catalina 10.15.7

✔ Component nativescript has 8.0.1 version and is up to date.
✔ Component @nativescript/core has 8.0.3 version and is up to date.
✖ Component @nativescript/ios is not installed.
✔ Component @nativescript/android has 8.0.0 version and is up to date.

Describe the bug
Created icon.png with 1024x1024 size.

tns resources generate icons ~/icon.png
Generating icons ...
Icons generation completed.

.. however, Android icons did not get created. Even when creating the mipmap icons, they don't get applied and the nativescript icon is associated with the app. No error messages.
Splashes are generated correctly.

Expected behavior
The launcher icon should be generated from the image.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions