-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
target android_aot_release_android-arm failed #85434
Comments
Hi @lycstar also, provide your |
flutter doctor -v [✓] Flutter (Channel master, 2.3.0-17.0.pre.561, on Debian GNU/Linux 10
(buster) 4.9.186-perf-g83532fd, locale zh_CN.UTF-8)
• Flutter version 2.3.0-17.0.pre.561 at /home/lycstar/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 67e4aeb602 (2 天前), 2021-06-28 23:16:05 -0700
• Engine revision 9d09863272
• Dart version 2.14.0 (build 2.14.0-253.0.dev)
[✗] Chrome - develop for the web (Cannot find Chrome executable at
google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome
executable.
[✓] Linux toolchain - develop for Linux desktop
• clang version 7.0.1-8 deb10u2 (tags/RELEASE_701/final)
• cmake version 3.13.4
• ninja version 1.8.2
• pkg-config version 0.29
[✓] VS Code (version 1.57.1)
• VS Code at /usr/share/code
• Flutter extension version 3.23.0
[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-arm64 • Debian GNU/Linux 10 (buster)
4.9.186-perf-g83532fd
! Doctor found issues in 1 category. flutter build apk -v
error log part in buikd apk
|
Oh, this is building the engine on arm64 itself instead of cross-compiling? I'm not sure we support that out of the box. Maybe @chinmaygarde has some pointers? |
@lycstar Can you try different versions of Flutter and see if this happens with all of them? |
Out of the box, we don't supporting building host snapshotters on arm64 hosts. The x64 gen_snapshot binary for arm64 targets (say the Android variant) should work just fine. Closing since this is not a supported target. |
@chinmaygarde You mean x64 gen_snapshot work file? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I try to run build apk in Debian(arm64), but it got wrong because no linux_arm64/gen_snapshot,how can I compile engine to get it?
The text was updated successfully, but these errors were encountered: