Install Flutter without android studio | Install flutters with vs code
HTML-код
- Опубликовано: 22 авг 2024
- Flutter Setup Without Android Studio | flutter without android studio | Install Flutter without android studio
Install Flutter on Windows without using android studio | install flutter without android studio
Install flutters with vs code
Install the build tools:
sdkmanager "build-tools;30.0.0" --sdk_root=../
Install the platform:
sdkmanager "platforms;android-30" --sdk_root=../
Running flutter doctor:
flutter doctor
Creating new flutter project:
flutter create first_app
Download JDK:
download.oracl...
Download Flutter SDK:
storage.google...
Download Android Command line tools:
dl.google.com/...
Download VS Code:
az764295.vo.ms...
Writing first Flutter application:
• First Flutter App from...
Android emulator without an Android Studio:
• AVD without android St...
Flutter Tutorial Playlist :
• Flutter Widgets
Dart Tutorial Playlist :
• Dart Tutorial
Extra Tags
install flutters with vs code
flutter installation in vs code
flutter installation
install flutter
install flutter in vs code
install flutter without android studio windows
Dart Tutorial Playlist :
ruclips.net/p/PLeKQz1VjpjFqqXLvQ8rTnYxZcUqEGA0dm
Flutter Tutorial Playlist :
ruclips.net/p/PLeKQz1VjpjFq3vbq3Hvl1866nsmAQdzUo
Download JDK:
download.oracle.com/java/17/latest/jdk-17_windows-x64_bin.exe
Download Flutter SDK:
storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_2.8.1-stable.zip
Download Android Command line tools:
dl.google.com/android/repository/commandlinetools-win-8092744_latest.zip
Download VS Code:
az764295.vo.msecnd.net/stable/f80445acd5a3dadef24aa209168452a3d97cc326/VSCodeUserSetup-x64-1.64.2.exe
pin it to the first comment this will be useful
Thanks for the suggestions. 🙏
last environment path should be "your path\platforms" not "platform".. thank you..your video superb
Most welcome dear
Thank you so much, you're a life saver. May Allah bless you.
You are most welcome dear 🙏
It will be better without background music. It sounds weird for background music.
Even I think the same. It was my initial stage of video editing.
Thanks for suggestion. 🙏
I don't have platform tools folder in cmdtools bro. What should I do
Please watch the video carefully, you have missed the steps or may be using different version off software
OMG it worksss Thankkk youu👍👍👍 If you have error , you don't watch accurately the video. Thanks, Flutter Teacher🥰
Most welcome dear 🙏
you are the best youtuber in the world!
Thanks a lot for such an encouraging comment! 🙏
Hey; thank you for this video.
Should I disactivate Avast antivirus protection before I install tools?
Thanks for this video, It really helps me because i don't have a high configuration pc. ✨🙌🏻
Glad it was helpful.
You are most welcome dear 🙏
i followed the same steps just changed the versions... but i am not able to find the platform-tools folder to add it into environment variable
same issue
It shows no valid Android sdk platform has been installed
What can i do ?????
I request you to watch the video properly and follow the instructions exactly as I have explained.
After using 'flutter doctor,' I had trouble finding the Android SDK. I fixed it by making sure the last path is 'your path\platforms' instead of just 'platform.' Can you please pin this so everyone can see? Thanks a lot
👍
I have 2 categories issues, cmdline-tools component is missing. And the other android license status unknown. Please help me.
Delete the existing softwares & paths you have seated.
Watch video properly and follow the instructions exactly as shown, use same version of software that I have used.
I am sure your problem will solve.
same Issue how did you resolve
@@mohitjain9852 Delete the existing softwares & paths you have seated.
Watch video properly and follow the instructions exactly as shown, use same version of software that I have used.
I am sure your problem will solve.
If I connect my mobile device with the computer using the USB. Will it run on my mobile device? Will it(my mobile device) show at the bottom panel in the VS code editor?
Surely it will show & run. Please try that one.
In case of any problems, contact me on facebook.
Watch this video property, you will find I had executed on real device, it has appeared in vs code at the bottom right.
Best video thanks
I'm having a visual studio toolchain missing error while running the first app
Can you provide a solution?
Thanks 🙏
Please watch the video properly and follow the instructions exactly as shown, it will solve your problem.
Why you mention Android 30.0.0 in cmd prompt of command line?
What version does it indicate?
It was the version that best suited for me when I succeed the Flutter installation.
For now, it's not the latest version. You might try the latest one.
34.0.0 worked for me
Glad to hear that.
So how do you run it on mobile, since am not able to see any emulator listed on your vs code ??
Bro, I believe this video is for people who may have low-end laptops. It only makes sense that people are tryna avoid Android Studio because it works very slowly on low-end PCs and mostly would not even run an emulator at all.
I used to own a core i3 until a year ago opening AS was a pain in the a$$. So, I understand. I wish I had this video 4.5 years back when I went into Flutter development, woulda saved my life.
In this case, just use a real device for debugging apps. Period!
Finally it works. Thank You!
Glad it was helpful.
You are most welcome 🙏
Hello There, maybe a bad question to ask, but can you please tell me how much data it will consume to download those sdk-tools, emulator. I actually receive only 1.5gb data per day. So thats why i am asking whether its more or less than that
Around 2GB for entire setup.
@@FlutterTeacher Okay, Thank You
Most welcome. 😊
that is the best tut. Fix my issue
thank yooooooou
Glad it was helpful. 🙏
I'm a little behind but I'm waiting to start my ♥️flutter journey ✨
Ok. Take you own time.
mine too wanna team up
@@Wiz_HD what team up?
@@akifchoudhary9296 sharing information and tips
@@Wiz_HD ohh but bro what kind of tips you want from me bcoz I'm also a beginner do you really think i can give a tip?
When I connect my mobile and build the app. It says grafle not matching with you java
how to create emulator ? please answer
Please check playlists of this channel, it has video for AVD and Memu emulator.
I followed these steps and in the last when I run flutter doctor it says "Found an existing Pub cache at C:\users....."
my computer has 4gb ram
can i setup this installation
Yes!
Install Flutter without Android studio using this video.
And install Memu emulator. It's fast, 100% free, lightweight, takes less space and works in low range pc.
Please watch Memu emulator video in this channel.
@@FlutterTeacher Thank you how i install memu emulator?
please help
watch this video
ruclips.net/video/wODGGo_EJXA/видео.html
mine is failing to download the emulator, its not doing noting after pressing enter
Great videos. When is the next one coming ?
Thanks.
Next video in just few days
Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.
i follow your video
Hi Flutter teacher, when I follow all the steps and create new flutter project, the project starts with 3 errors and 1 danger. The danger is easily solved but the errors are an unidentified "icons.add". I think there must be something wrong if the system starts with errors. Also it's not running because of the errors. What can I do you? Would you please help me?
Thank you so much!
When I type flutter doctor on command line in connected device it shows (4 device available)but i have only 2 emulators downloaded.what does 4 available devices signify??is this any security issue??
By default the web browsers are detected as devices by flutter doctor. So as to use the for Flutter web.
@@FlutterTeacher ooh thx
You are most welcome. 🙏
i need some help please. I can't install jdk because of privacy of my company and i don't what to do. Can someone help me?
Whn. Running the license command its giving android sdk manager not found
ERROR - Dart:ui not supported on this platform
It doesn't work for me. I keep getting the error message 'cmdline-tools component is missing.'
Please watch the video properly, use the same version of software as I have used & follow the steps exactly.
plz solve my error issue that is in 2nd phase of cmd that is still waiting for package manifest to be fetched remotely i follow all the steps of the vedio carefully plz help me in this case
why do I keep getting an error sir, even though I have followed the tutorial
After did all these settings, and setup.. What will happen, if we replace flutter with new version?
Instead of replacing, I suggest to upgrade flutter using command called 'flutter upgrade', this won't require any manual changes.
Any ways for replacing flutter with new version needs to update the old paths for flutter, try flutter doctor command, you may need to accept android licenses again
@@FlutterTeacher i have replace new version path, but there is a error of "visual studio develop for window" in flutter doctor.... in previous version this was not occured
I can't suggest exact solution without error screen shot.
I request you to use same version of flutter that I have used in the video, after successful setup you can happily use command called 'flutter upgrade'.
I am sure this won't trouble you.
How do I find my sdk version
Can you please elaborate your question.
I can't understand what do you want to ask.
@@FlutterTeacher the command line...i tried Instal it but it's not going...maybe because of the version...u know where u wrote ....sdkmanager.bat build app 30.0.0. So I don't think that version is the same with mine
It's not loading bro on my cmd
If you follow all steps properly and use same version of the as I have used, I am sure you won't face any issues.
Please copy and paste the commands from the description.
@@FlutterTeacher I did it doesn't work bro
Please connect me on Facebook and share the screenshots of errors.
thank you so much , it worked as shows
but I have a doubt. can we get a mobile like pop-up using vs-code as we get in android studio bcoz android studio isn't working on my laptop
Thanks dear 🙏
This channel has video for Creating AVD without using Android Studio.
If you have installed Flutter by following my steps, then you are done for most of the steps for AVD.
@@FlutterTeacher yeah I saw that video now ❤️ thanks a lot , will try it and let you know if I gets stuck anywhere. Again lot of thanks ❤️❤️❤️
You are most welcome dear 🙏
i have a problem with first step when i run
sdkmanager "build-tools;30.0.0" --sdk_root=../ in cmd
it gives me error
Warning: Failed to download any source lists!
Warning: IO exception while downloading manifest
Warning: Still waiting for package manifests to be fetched remotely.
Warning: Failed to find package 'build-tools;30.0.0'
[=== ] 10% Computing updates...
and does not do anything
can anyone help me plz ?
try run cmd as admin and change dir to command line tools/bin folder and run sdkmanager.bat "build-tools;30.0.0" --sdk_root=../
C:\Users\Thevindu>flutter doctor
\flutter\bin\cache was unexpected at this time.
can I have a solution for this
Why we need jdk..?
Flutter setup is based on Android SDK, hence we need JDK.
As per official guide lines from Flutter, we must install JDK and set JAVA_HOME environment varible.
I appreciate, simple way of explanation, can it work for AMD processor also as my laptop is AMD one.
I am sorry, but I didn't try for AMD
it did not work me by adding "myPath/platform" to environment variable, because flutter doctor was still showing unmarked on android sdk. But on adding path completely "myPath/platform-tools" it worked. I wanted to ask will my flutter project run smoothly like will i face any issue after this?
I hope it should run smoothly.
All the best 👍
why dont i get the "platform-tools" folder? i got only "platform" folder
Sorry, this video is old, it worked for old version of Flutter.
The latest version needs some other tools and even steps are little different.
@@FlutterTeacher yeah.. i just found out that platform-tools need to be downloaded separately.. thanks anyway
Glad you got that.😊
Hi, can you tell me why app is not showing on the laptop. It is already launched on android device but not showing on laptop. Device is connected. Will I need to have a emulator for that?
Use Scrcpy to cast your device screen in Laptop.
ruclips.net/video/J0gMgkd5ows/видео.html
@@FlutterTeacher thanks! Which way is better if we download an offline Android emulator from sdkmanager command or download scrappy? Which one adds more space on C drive?
need help with the downloading in command line sdkmanager. Mine always getting stuck on different percentage during download.
It's may a problem of your internet.
'where' is not recognized as an internal or external command, operable program or batch file
Error: Unable to find git in your path
This is the message after typing flutter doctor ive tried everything the variable ive set it the git but it still won't work
Why do you need where command??
Please follow all steps properly as shown in video, you may be doing mistake while following steps.
Please watch video properly.
Copy and paste commands from description.
@@FlutterTeacher i did type flutter doctor and the where command is what i got
ok!
SIR after completing all the steps at last as i run 'Flutter doctor' commond it gives me an error as:
Unhandled exception:
Exception: Cannot find the executable for `where`. This can happen if the System32 folder (e.g. C:\Windows\System32 ) is removed from the PATH environment variable. Ensure that this is present and then try again after restarting the terminal and/or IDE.
.
.
But i have installed all the software in latest version.
use powershell and not cmd
Sir mere laptop me edit environment variable me path ek se jyada set nhi ho rha.
Mean path ka folder edit Karne par bus 1 phle se path Aata h dusra dalne ka option nhi Aata kya karu
Use .; at beginning & use semicolon (;) as the path separator
i.stack.imgur.com/hLV0J.png
Sir when i run flutter doctor
It shows handshake exception connection terminated
Please follow each step exactly as shown in the video.
Use the same version of softwares as I used. You can get them from the description.
Thank you for the tutorial, can you please tell how much disk this Android sdk will take? Is it in few GBs?
like 10 gb and more with the images
which version write in android command line tools during installatiotion in 2023 , plz reply
Are you talking about the Flutter version??
@@FlutterTeacher you wtite 30.0.0 what i am writinh in sdkmanagaer.bat"" version??
I am facing an error
When at the last step, i try to run the flutter doctor --android-licenses command it gives me an error of exception java.lang.NoClassDefFoundError
Can anyone help me with it?
Please follow each step exactly as it is & use the same version of software those are used in the video. I am sure you won't face such problems
Please make sure you have set all path as shown by me.
cmdline-tools component is missing .. how i can solve it?
Mera bhi yehi araha ha same
Resolve hogya to btao kese kia
Typed the flutter doctor on cmd but not showing anything
Close the command prompt.
Open new command prompt, type flutter doctor. It takes time for first time, please wait.
@@FlutterTeacher okay I'll try it again thanks 🙏
😊
@@FlutterTeacher Can I run the CMD commands offline for the flutter build?
After entering command (flutter doctor), its showing me no visual studio and also telling me to install desktop developement with c++
Visual studio is required only when you want to use flutter for windows. For mobile and web it's optional.
I want to create app from given website, is it optional then?
And there is no subtract folder inside the platform tools is there any issue in installing the latest version in my system?
Sutrace
Sir after hitting the first commant the download stops at 46% downloading emulator -windows_x64-9
It happens due to slow internet connection.
How to find the version for command line tools?
How did u find it's 30.0.0?
At 6:27 ?
Bro while setting command tools and type command prompt it's showing failed to download any source list...
Don't type commands manually, please copy and paste commands from the description.
what if the download on the first command stuck at 67?
Internet connection might be responsible for this.
Try "Control + C" may help you or you need to restart the downloading process.
@@FlutterTeacher after i did all the steps in the video and run flutter doctor, i still has the error where it says cmdline-tools component is missing do you have any idea why sir?
Worked for me,
Thanks
Glad to hear that.
You are most welcome 🙏
me i have i issue if i tap flutter doctor the cmd goes away i dont know why can u please help me ??
Try running in as administrator
when i run flutter doctor i get cmdline-tools missing !
This error occurs when you do mistakes in folder structure.
Please follow as it is everything show in the video.
This problem was also asked in AVD video many times, you can check the comments both of these videos.
Sir why do we need to install jdk?
Basic Flutter apps can run without JDK, but most of features like Firebase requires JDK. Even some features aks for JDK version 11 or higher.
What about Android emulator without Android studio
Android emulator can be created without an Android Studio.
Memu is free, light weight & fast Android emulator that personally prefer
If you want me to explain creating Android emulator without an Android Studio please comment that one
Please comment me if you need video regarding Memu emulator
@@FlutterTeacher make that video plzzzz
Ok. I will create videos for both Android emulator without an Android Studio & Menu
Can i install built tool revision 34.0.0RC3 since its the latest version? and i also installed all the latest versions of all the apps.
Sure.
Extract build tools folder
Bro i am not able to get quick suggestions in VSCode for flutter, I followed the same process of yours, please do reply bro ,i tried googling it but no use. All my softwares are latest versions only.
Restart the VS code, wait it will work & depends on your laptop/PC speed.
Following link may be helpful
stackoverflow.com/questions/57000058/vs-code-and-flutter-dart-widget-autocomplete-not-working
bro thanks the restart worked..
Sir can you help me fix the error I encounter? The error says "exception: unable to run "adb", check your android sdk installation and android_sdk_root environment variable: ...\platform-tools\adb.exe"
Thank you in advance.
same
Flutter doctor giving vs code error like desktop
development with c++
Can you write the error that you are getting.
@@FlutterTeacher but everything runs fine
Error in cmd
Unable to determine bundled java version😢
I am sorry, but either you are not following the steps exactly or you may be using different version of software as I used in the video.
Kindy use the same versions as I used & follow the steps exactly as I did.
How can i create the android emulator?
Watch create AVD video in this channel. 🙂
thank you sir
You are most welcome dear 🙏
what did you mean of the version of "build-tools"?
hey @giannisidorelegaspi2563 did you solved this issue? What's the solution?
Sir I am using dart programming should I need to download jdk
Flutter needs JDK for some dependencies. Just to run simple apps, JDK is optional. By the way, Flutter will throw an error when it needs JDK and it's not there in your system.
bro you are savior
thanks bro
Glad it was helpful.
You are most welcome dear 🙏
Thankyou for your detailed video... Can you pls explain system specification for flutter development....
You are most welcome!
One of my friend is running Flutter on Intel core i3, 4GB RAM, 20GB storage space is enough for all softwares.
Watch my Flutter setup or AVD video to learn Flutter installation.
Cmdline-tools component is missing
Please follow steps properly. Use same version of software that I used.
Wrong folder location or wrong path may cause such error.
If you added Flutter thru Visual code, do you really need to install it from command line ?
Are you talking about installing Flutter through "terminal of VS code"?
If yes, then you don't need to reinstall it from command line.
@@FlutterTeacher i think he is talking visual studio not vscode
is this work if i want to run on my real phone using USB ?
cuz i try million times :(
Yes it works.
How can i run android emulator?
Watch this to create emulator(AVD) : ruclips.net/video/591Sme4jxDc/видео.html
Watch this to run the emulator : ruclips.net/video/bLvUowQQLPs/видео.html
sir there is a problem , when I am trying to download sdk with our cmd through your command line
What is that??
failed to find package
' builds-tools;30.0.0'
Sorry to respond late.
I am sure, this error occur due to wrong folder structure. I got that error too, when I was practicing for creating this video.
Please follow the steps properly in this video.
Or watch my AVD video, you can skip AVD creating if you don't need. That video has little different way to setup flutter.
All the best!
Thanks a lot
You are most welcome 🙏
We don't have to download dart SDK??
It comes with Flutter SDK
@@FlutterTeacherI am getting an error as cannot determine java version
@@devishreenadar4925 Please watch the video properly, you are not following the exact steps.
Why do we need jdk?
Flutter needs JDK for some dependencies. Just to run simple apps, JDK is optional. By the way, Flutter will throw an error when it needs JDK and it's not there in your system.
@@FlutterTeacher ok thankyou sir.
You are most welcome 🙏
THANKS ALOT BRO ❤❤
You're welcome 😊
please i need a tutorial on how to create a mobile starting from the beginning to the end
I am really sorry, but I can't understand your question.
@@FlutterTeacher i am saying that please i need a tutorial on how to create a mobile application without the use of android studio
@@FlutterTeacher and also please if possible a tutorial that show how you install all the needed tools with the sdk managers and creating the avd manager
There is video for creating AVD without Android studio in this channel.
Stay tuned with me and watch Dart & Flutter series
in 6:20 , you wrote version 30.0.0 . where can i find that version ?
You don't need to find yours!
It's the android sdk & platform version which I used. It is compatible with the Flutter version that I have installed.
To avoid the errors for installations, I recommend you to use the same as I used in the video.
Okay
@@FlutterTeacher how do i know the version is updated?
Use flutter upgrade command it show whether flutter is upto date or not
@@FlutterTeacher when I use 30.0.0 in CMD I got a failed warning .
Failed to find package 'build-tools;30.0.0'
failed to find package
I am sorry, but I think you might be doing mistakes while following the steps. Please watch video carefully & follow every step exactly.
Please delete any previous installation & path if any.
Bro unable to find Androidsdk
Please follow the exact steps properly. Misspellings folder, invalidate path setting are causes of such error.
please what is the difference between open jdk and simple jdk
stackoverflow.com/questions/22358071/differences-between-oracle-jdk-and-openjdk
Please sir I want to create avd manager but iam already having jdk 18 iam asking if I must instead download the zip version of jdk
Please watch crea AVD without Android studio video in my channel.
Follow each step exactly as shown and use the same version of softwares as I have used.
@@FlutterTeacher ok sir
so sir i should re-download flutter and command line-tools?
its wooorrkkkk :))) thank you
Glad it was helpful.
Thanks 🙏
thanks alot
Linux users 🥴
Can I install jdk on any other than C drive
What is the error??
@@FlutterTeacher c drive space getting low when coding
You can install jdk in other drive.
you're the best
Thanks a lot dear 🙏
Awesome Video. Thanks for this.
I did get a slight error on the command line for the "sdkmanager platform; android-30"
It said "Warning: An error occured while preparing SDK package Android SDK Platform 30: Archive is not a ZIP archive"
Do you know a way I could solve that?
Me too
Thanks alot bro 👍
Most welcome.
the last command is not working
C:\Flutter Apk\cmdline-tools\bin>sdkmanager.bat "cmdline-tools;latest"--sdk_root=../
The syntax of the command is incorrect.
is any syntax mistake is here
Give space ...latest"(here)--sdk....
Ok thanks