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

Please configure your assets path in pubspec.yaml #11

Open
KeQian opened this issue Jul 12, 2023 · 1 comment
Open

Please configure your assets path in pubspec.yaml #11

KeQian opened this issue Jul 12, 2023 · 1 comment

Comments

@KeQian
Copy link

KeQian commented Jul 12, 2023

发生问题的设备信息:
Mac m2 pro ,arm64 CPU :
Android Studio version 2022.2.1 Patch 2

感觉像是没有适配arm64?

@3kdeveloper
Copy link

3kdeveloper commented Sep 3, 2023

This issue is generated because you can't specify asset paths inside the pubspec.yaml.
Follow the below steps:

Right-click the assets directory and press -> Flutter Configuring Paths Check the below screenshot, it will automatically add the assets path.
image

if you add the assets paths in pubspec.yaml press alt + G if you using window and cmd + G inside Mac.

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

2 participants