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

Flutter 直接集成Android无法运行,可能是机器Flutter环境是FVM管理导致 #26

Open
Mauiie opened this issue Jun 18, 2022 · 3 comments

Comments

@Mauiie
Copy link

Mauiie commented Jun 18, 2022

提示无法找到: /Users/mac/fvm/versions/2.10.4/bin/cache/artifacts/engine/android-arm/flutter.jar.

image

插件的android/build.gradle里的
compileOnly files("$flutterRoot/bin/cache/artifacts/engine/android-arm/flutter.jar")
似乎没有什么必要,我本地试了可以删除且删除之后可以正常运行

@Mauiie Mauiie changed the title Android 直接集成无法运行,可能是机器Flutter环境是FVM管理导致 Flutter 直接集成Android无法运行,可能是机器Flutter环境是FVM管理导致 Jun 18, 2022
@githubliuqi
Copy link

保留就好,请确保flutter安装正常。

@601367322
Copy link

flutter 安装什么版本?确实没有这个文件
/bin/cache/artifacts/engine/android-arm/flutter.jar

@601367322
Copy link

删掉确实没事了
image

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

3 participants