Comments (13)
Let me know if it worked. Have a nice weekend.
from snapp_installer.
Will do! Meanwhile, I'm going to ping @payam-zahedi maybe he can help ;)
Have a good weekend!!
from snapp_installer.
Hi there, same problem here, how did you fix it? @RootKid87
from snapp_installer.
Hi there, same problem here, how did you fix it? @RootKid87
@joaoparis You need to check the flutter version on your machine and your PI. If you your machine and PI have different flutter version try to upgrade with command: flutter upgrade
from snapp_installer.
Hi there, same problem here, how did you fix it? @RootKid87
@joaoparis You need to check the flutter version on your machine and your PI. If you your machine and PI have different flutter version try to upgrade with command: flutter upgrade
thanks @RootKid87 for the tip, but I'm still stuck. when running "snapp_installer install" this is my output:
Flutter command not found globally. Checking common directories...
No Flutter installations found.
Flutter command not found globally. Checking common directories...
No Flutter installations found.
******************************************
********** Installation Summary **********
******************************************
* Get Linux dependencies to be able to run the flutter: curl, git ,...
* Clone the flutter from Github: https://github.com/flutter/flutter
* move flutter to the /home/pi/sdk/flutter directory
* update the path to make the flutter command excutable
* Check and show the flutter path
* add dependencies for developing on linux
* check the flutter channel
* run flutter doctor
* run flutter precache command for linux
Version option not specified.
Installing the latest version of Flutter on the stable channel.
******************************************
******* Flutter Linux Dependencies *******
******************************************
Linux dependencies are already installed
* ✓ curl is installed
* ✓ git is installed
* ✓ unzip is installed
* ✓ xz-utils is installed
* ✓ zip is installed
* ✓ libglu1-mesa is installed
*****************************************
************* Clone Flutter *************
*****************************************
Clone the stable branch of the Flutter repository from GitHub
Cloning into 'flutter'...
remote: Enumerating objects: 521754, done.
remote: Counting objects: 100% (796/796), done.
remote: Compressing objects: 100% (553/553), done.
remote: Total 521754 (delta 434), reused 452 (delta 222), pack-reused 520958
Receiving objects: 100% (521754/521754), 135.83 MiB | 14.66 MiB/s, done.
Resolving deltas: 100% (408533/408533), done.
Updating files: 100% (8283/8283), done.
Flutter cloned successfully.
Flutter moved to the /home/pi/sdk directory
*****************************************
********** Add Flutter to PATH **********
*****************************************
adding flutter to PATH as env in ~/.bashrc.
******************************************
*********** Check Flutter Path ***********
******************************************
Flutter is located at:
/home/pi/sdk/flutter/bin/flutter
******************************************
***** Linux Development Dependencies *****
******************************************
Linux development dependencies are already installed
* ✓ clang is installed
* ✓ cmake is installed
* ✓ ninja-build is installed
* ✓ pkg-config is installed
* ✓ libgtk-3-dev is installed
* ✓ liblzma-dev is installed
*****************************************
********* Check Flutter Channel *********
*****************************************
Checking Flutter channel
Downloading Linux arm64 Dart SDK from Flutter engine edd8546116457bdf1c5bdfb13ecb9463d2bb5ed4...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 220M 100 220M 0 0 31.0M 0 0:00:07 0:00:07 --:--:-- 37.5M
Building flutter tool...
/home/pi/sdk/flutter/bin/internal/shared.sh: line 23: /home/pi/sdk/flutter/bin/cache/dart-sdk/bin/dart: No such file or directory
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
/home/pi/sdk/flutter/bin/internal/shared.sh: line 23: /home/pi/sdk/flutter/bin/cache/dart-sdk/bin/dart: No such file or directory
System info:
RPI:
Raspbian GNU/Linux 11 (bullseye)
Hardware : BCM2835
Model : Raspberry Pi 4 Model B Rev 1.5
Host:
Windows 11
Flutter Version: 3.22.2
Dart Version: 3.4.3
from snapp_installer.
@joaoparis try to delete the sdk folder sudo rm -r sdk. And retry to install by running sudo snapp_installer install
from snapp_installer.
@RootKid87 thanks for the suggestion. I partially did what you suggested, aside from "sudo snapp_installer install", that retruned: "sudo: snapp_installer: command not found" (that's normal right?)
I ran it without being the super user, and still got the same result.
Moreover, I noticed #10 was adding flutter_pi to the script. I used to have flutter_pi installed on this PI, which was what I was using to run my Flutter App on this machine. Could it be that some configuration is still there and it's causing the issue? I have removed flutter_pi the best way I know how: rm the folder and removing it from the PATH.
from snapp_installer.
@joaoparis Ok, unfortunately I don't know how your config looks like. You have a 64Bit raspbian on your PI?
from snapp_installer.
@RootKid87 i think this is what your are asking:
from snapp_installer.
Ok, it should actually work. Have you tried reinstalling the OS?
from snapp_installer.
I don't have access to the PI physically right now :( but I'll try to do that on Monday
from snapp_installer.
Hey @joaoparis
I'm not sure about your need in here?
What exactly is your problem?
you want to install flutter on raspberry? Or you want to install flutter-pi?
from snapp_installer.
If you want to have a specific version of flutter, just use this command.
snapp_installer install -v 3.22.0 -f
from snapp_installer.
Related Issues (5)
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 snapp_installer.