Comments (7)
I believe you're talking about the Linux Arm64 Host.
From what I understand, the Flutter SDK can be built from source on Linux Arm64, but the Flutter team doesn't provide pre-built binaries for it. Flutter requires several native binaries/libs to run.
However, you can try building the Flutter SDK from source on your Linux Arm64 machine, or you can use others' pre-built binaries like https://github.com/containerbase/flutter-prebuild, but use it at your own risk.
from flutter.
Hi, Thank you. My Lenove Duet Chromebook might not handle a second layer of virtualization. Is there a reason why Google/Dart/Flutter does not provide ARM64 releases?
I think people with ARM64 Chromebooks and Raspberry PI would like it, too.
from flutter.
@mictadlo
Most probably this is similar to the one you are looking for. You will need to follow-up in it for further updates or share your findings in it for better tracking.
Closing this in favor of the linked issue. If you disagree, write in comments and I'll reopen it.
from flutter.
@mictadlo Most probably this is similar to the one you are looking for. You will need to follow-up in it for further updates or share your findings in it for better tracking. Closing this in favor of the linked issue. If you disagree, write in comments and I'll reopen it.
Thanks for linking that issue @darshankawar. I just closed that issue, as we actually do build and upload binaries for linux arm64 hosts, you just can't download a tarball for it from the website. However, if you clone this repository on a linux arm64 machine, the flutter/bin/flutter
bash script should ensure that you have all the correct architecture binaries downloaded.
I have done this before on a raspberry pi. I have not kept up to date with linux userspace on ChromeOS, so your mileage may vary there (if you have a mainstream Linux distribution installed such as Ubuntu or Arch, things should "just work").
from flutter.
Thank you, it works. Any suggestions how to improve it?
Dependencies for Web apps
$ sudo apt-get install chromium
Dependencies for Linux apps
$ sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
VS Code
Source: https://wiki.debian.org/VisualStudioCode
$ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
$ sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/microsoft-archive-keyring.gpg
$ sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
$ sudo apt-get update
$ sudo apt-get install code
Flutter SDK
$ mkdir projects
$ cd projects/
$ git clone https://github.com/flutter/flutter.git
$ cd flutter/bin/
$ ./flutter
Building flutter tool...
Resolving dependencies... (6.7s)
Downloading packages... (36.5s)
Got dependencies.
$ export PATH="$PATH:/home/mtlorenc/projects/flutter/bin"
$ export CHROME_EXECUTABLE="/usr/bin/chromium"
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.22.0-14.0.pre.29, on Debian GNU/Linux 12 (bookworm) 6.6.17-01102-gd3cec3c11146, locale en_US.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.82.0)
[✓] Connected device (2 available)
from flutter.
Thank you, it works. Any suggestions how to improve it?
This is more or less what I would do (although with vim :) ). One option is to use canonical's Flutter snap: https://snapcraft.io/flutter, which I believe would handle sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
, although you'd also have to install and/or configure snap.
from flutter.
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 flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null)) on Android devices HOT 4
- I have a problem which is my inability to implement a specific design using the TextFormField HOT 3
- Unsolved Reference When Editing Flutter Plugin Androd Native Code HOT 2
- Flutter Web does not work on LibreWolf: Big padding at the bottom and no mouse clicks HOT 1
- Hindi font height is not same in all platform HOT 1
- Provide better information for "Some input files use or override a deprecated API" HOT 6
- [pigeon] Widen the scope of pigeon documentation for newer devs HOT 3
- [flutter_markdown] H1 not display correctly HOT 2
- [M2] Snackbar is not properly aligned when using RTL Directionality HOT 1
- the modal dialog or sheet is not centering properly when called from within a ShellRoute in a Flutter app HOT 1
- Webview does not take the keyboard focus HOT 3
- Flutter is developed in modules, and each module can run independently HOT 26
- go_router is catching app links twice on Android HOT 11
- "Black screen of death" when resuming Flutter app on Android after several minutes in background HOT 31
- Is it possible to render a Fragment Shader asynchronously? HOT 3
- Config autovalidateMode: AutovalidateMode.onUserInteraction not work when focus textformfield HOT 1
- [tool_crash] FileSystemException: Creation failed, OS Error: The system cannot find the file specified., errno = 2 HOT 1
- Flutter Web engine removes query parameter encoding HOT 2
- InkWell highlight not working HOT 1
- Navigator without transitions not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.