For those who can't open the project without Dart Language: Before you click on create a new app, there is a button in the current version with the Flutter Icon. 1.- Click on Flutter Button. 2.- Where it says "Flutter SDK Pack". You'll put the path of your Flutter Folder, it should be like: C:\User\Rest_of_your_Path\flutter (Just find the folder and copy it) 3.- Click on next 4.- Where it says "Platform" choose whatever you wanna choose (It says android, iOS, Linux, MacOs, Web, Windows) 5.- Finish That's all.
I am watching this video on 2021 and is still very useful :) In order to make it work the virtual device, you need to activate the Windows Hyper Platform on Control Panel --> Programs and futures --> Turn Windows feautures on or off
12:43 I was trying to figure out which cross-platform SDK I should start with, and this four-line "hello world" (or rather "hey ninjas!") did it for me. Thank you so much for making this example so simple.
It's fun doing this course at the end of 2023 with my Mac Studio rendering about 10x faster than Net Ninja's PC. All kidding aside, this is a great course.
For those receiving a multiple key error when running the last minute piece of code, here is the fix, I don't know why a comma missing would cause this error, but I'd love to find out: void main() => runApp(MaterialApp(home: Text('Hello'), ), ); Thanks for the tutorials!!
You told us that => is used to return something, please explain why a void method is returning something here "void main() => runApp(const MyApp());". Sorry but I'm a bit confused, I followed your previous tutorial where you taught on dart basics and I remember clearly telling us that this symble => is used to return?
@@SepiaMN Terribly sorry. I have Long Covid. I can't remember my name half the time. I'd have to totally repeat the process to get any sort of answer. Sorry.
@@encouragemint3869, then you can search for plugins by the following path. Go to files > Settings > Plugins tab at the left sidebar > Now you can search for any kind of plugins in the market place.
Hey Sean, do you have a paypal or something? I would really like to make a one time donation but I'm not a fan of the whole patreon subscription schema
@Boston Mendonca device manager is not always updated with the newest drivers. Try other methods. I am using gtx1050 and I update my drivers through nvidia geforce
I am a long time Xamarin developer (as you can tell from my username) and have always wanted the opportunity to deploy to the web. Flutter allows that so I am seriously considering switching.
Hi Shaun, am happy i found your tutorial and Started learning Flutter, In my scenario just installing the flutter and dart then restart Android Studio doesn't worked, but with installing the Android APK Support and Android NDK support worked for me. Just want to address this issue which i faced.Started your next tutorial.Thanks
My "new flutter project" page looked significantly different from yours in this video. Has there been an update that changed the whole format of that process?
@@saeedR86 It does look different now due to an update, but all the functionality is basically the same. I think there are just a couple things you no longer have to specify.
To be honest, while I love Net Ninja's courses and teaching style, I've found it difficult to follow his flutter courses since the framework has changed so much since they were written. I'd love to see an update
Thanks for the series! One question - in your gui, the vertical indent guide is highlighted / changes color when you select code within it. additionally, there is a horizontal line where the vertical indent guide ends. How did you do this? It really helps with reading code. I searched everywhere, but I cannot get it to set to be interactive and the same style like it is in your editor. EDIT: found it. if the project does not recognize the flutter sdk, this happens. I had to set the projects flutter path manually. Keeping the comment up in case someone else has the same problem.
Ah merci ! Moi qui voulait recommencer à coder, j'ai voulu lancer mon application sur Android Studio et j'ai un peu galéré à retrouver comment faire. Très bien expliqué !
I had the same expression seeing the default code in the main.dart "Hmmm... This doesn't look simple :P ". Btw, The way you explain is so good .. Thank you :)
Loving your work, Sean - hugely appreciated. Flutter looks like webdev is finally getting there. (Perl CGI is a while ago now ...) Catching up with this series in Jan/Feb 2020 and I think a few things may have subtly changed already. I had licencing issues on Android Studio startup which were resolved with : "flutter doctor --android-licenses" (I replied "y" to a series of 'accept' messages (6?) which seemed to do the trick. The Nexus 5 emulator wouldn't get past the black screen, which seemed to get cured by turning on the Cold Boot option in advanced settings. Thanks again, and good luck.
For peoplw having gradle task assemble problems, go to *user*/AppData/Local/Android/Sdk/platforms and delete all folders inside (into the bin, don't clear it cause you'll need them later). Try to run the code on the emulator again, but it won't let you. Now restore the folder/folders from the recycle bin, maybe restart Android Studio and hopefully it will run without errors. I know this doesn't make sense but somehow it worked for me (someone advised to delete the folders, I did it but it still wouldn't run so I restored them and it worked)
I have a Gradle problem in android studio. I can’t understand what’s going on. What went wrong: BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript’ Unsupported class file major version 60 Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Hello I am a developer. My flutter is ok. Now, I have downloaded android studio for Android Virtual Devices (AVD) but i can not connected devices (AVD) on my project. On the other hand my windows does not support virtual devices. I have checked HAXM. So now what can i do for that?
Thank you for these lessons! They're a great help! Stuck a little though... After creating the AVD Device, it is not showing up in dropdown. When I open AVD manager, the device is present but when I run it, it shows error "Unable to locate adb" (and device opens up). I checked StackOverflow for this but the solution they gave (reg. platform-tools) is not working either. Any suggestions? Thanks!
@isd I solved this issue by following and with the help of this video: ruclips.net/video/U4TJ5ITGe5Y/видео.html You may need to do a lot of terminal/cmd prompt work. Take the help of this video and stackoverflow/google as you work on it.
Hello Sir I follow up the same steps as yours but there is android studio 3.1 version downloaded which is very different from yours one, so what should i do now?
how can i solve it ? Could not open settings generic class cache for settings file 'D:\StudioProjects\myapp23\android\settings.gradle' (C:\Users\Muaviz Shah\.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe). > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 60
I had the error "Android Emulator Hypervisor Driver for AMD Processors installation failed." but I fixed it by going to the BIOS and enableing the svm mode. Hope this helps someone
@@arnoldekechi6391 no soln is present anywhere related to this problem , even the flutter community has no answer related to it , eventually i gave up on it .
Beard Juice 4 months ago I had this exact same problem and it's an easy fix. Open your build.gradle file: \[project_name]\android\build.gradle Find the dependencies section - it should have a like this this: "classpath 'com.android.tools.build:gradle:3.5.0'" Change that to 3.4.2 instead: "classpath 'com.android.tools.build:gradle:3.4.2'" I found this on the Flutter github somewhere. They mentioned there's a bug in 3.5.0 and to just set it to 3.4.2 until a fix is released.
Anyone else run in to issues with hot reloading not working when changing the default code to run from MaterialApp() inside the runApp function? (i'm using vscode btw, not android studio)
When I try to run a flutter app on my physical device, my physical devuce does not show up on the list to choose from. I only see web and desktop. Help
I'm a beginner & using Android Studio Giraffe. I can't find the main.dart program file in my installed app. There's just giti.ignore, misc.xml, modules.xml, workspace.xml & a main.c file with 2 lines of code in src. Please help me .. I've been stuck on it for hours now!
i don't have the configure button on android studio what should i do edit: lol im so stoopid the tab was to small so the button didnt like register or configure yet
sir.. do we need java jdk before installing android studio? I tried without it.. And i could not run the main.dart program. it shows me an error..I followed ur all instructions.. I am loving ur tutorial.. plz help me..
Hi and many thanks for this great course! However I couldn't activate emulator it freezes on the download step, I searched and couldn't find this error on google, hey guys can you give me some pointers please?
Hi, I am following what you did in the video, but for some reason, the nexus 6 that I set up does not appear in the drop-down menu next to "no devices." I could run it by clicking on the adv manager and then running it from there, but I did not get the Gradle set up message. My predicament here is that I can't do anything after the Gradle set up step, and for your information, I have followed everything step for step in all your videos so far. Please help asap (btw I really like your videos it has helped a lot).
Hope you've solved this by now but if you haven't, what I tried to do is wipe data of the emulator from AVD Manager and then run flutter doctor. It worked.
For those getting the error: gradle task assembledebug failed with exit code 1 Run 'flutter doctor' on terminal. And try to fix the error with the category mentioned. For me it was some Android toolchain. They even provide the command for the fix along with it so read whatever is given on the console/terminal and fix it.
Beard Juice 4 months ago I had this exact same problem and it's an easy fix. Open your build.gradle file: \[project_name]\android\build.gradle Find the dependencies section - it should have a like this this: "classpath 'com.android.tools.build:gradle:3.5.0'" Change that to 3.4.2 instead: "classpath 'com.android.tools.build:gradle:3.4.2'" I found this on the Flutter github somewhere. They mentioned there's a bug in 3.5.0 and to just set it to 3.4.2 until a fix is released.
if start take a lot of time, write this in terminal cd android gradlew clean gradlew build cd ../ flutter clean flutter doctor (optional) and then start the program again
Hey there, i've installed Android Studio, Flutter Plugin and configured AVD. But when i start the APP there are no devices available to chose. Any advice?
hello i have a problem and i don't know how to pass it when i click on it doesn't show me the AVD that i created it shows me "Chrome(Web)" and "Windows (Desktop)" i tried to uninstall android studio and flutter so many times but it didn't work please help me
@@mr.reverseit5257 hello i fix it i uninstall flutter, dart, Android Studio completely from my PC then i reinstall them and i followed this video but be sure when you uninstall Android Studio you uninstall it completely from your device just follow a RUclips video and there you go hope that you can fix your problem and good luck
I follow exactly all of your paths but once I create a new project the folders on the lft don`t show. I only get the ¬idea¬ folder. What am I doing wrong?
In the previews lesson you told us : the void function does not return anything! but here the void main function return runApp(myApp()) ? please tell me why? thanks
For those who can't open the project without Dart Language:
Before you click on create a new app, there is a button in the current version with the Flutter Icon.
1.- Click on Flutter Button.
2.- Where it says "Flutter SDK Pack". You'll put the path of your Flutter Folder, it should be like: C:\User\Rest_of_your_Path\flutter (Just find the folder and copy it)
3.- Click on next
4.- Where it says "Platform" choose whatever you wanna choose (It says android, iOS, Linux, MacOs, Web, Windows)
5.- Finish
That's all.
Omg i dont know how to thank you, tried so long now and this helped me. Thank you so much
@@crux6744 You're welcome brother!
since flutter 3 is already here so will it it be okay to learn this version 1.7 first. i am so cnfused can you please help
thanks a ton man, I've been trying to figure out why it generates only java files
I am watching this video on 2021 and is still very useful :)
In order to make it work the virtual device, you need to activate the Windows Hyper Platform on Control Panel --> Programs and futures --> Turn Windows feautures on or off
This is how the courses for intermediate programmers should be, great work.
12:43 I was trying to figure out which cross-platform SDK I should start with, and this four-line "hello world" (or rather "hey ninjas!") did it for me. Thank you so much for making this example so simple.
... as someone who tried to just get react native running for about a week and a bit.. this is instantly 100 times more pain free..
real
It's fun doing this course at the end of 2023 with my Mac Studio rendering about 10x faster than Net Ninja's PC.
All kidding aside, this is a great course.
For those receiving a multiple key error when running the last minute piece of code, here is the fix, I don't know why a comma missing would cause this error, but I'd love to find out:
void main() => runApp(MaterialApp(home:
Text('Hello'),
),
);
Thanks for the tutorials!!
amazing how clear and organized your explaination is
Thanks Destro, hope it was helpful :)
Hi! i watched 12 videos from 37. they were perfect and the best. a big thanks to you and hope you the best
Watch the rest :p haha, thanks :))
I always find your vidoes when I'm trying to study, I finally found the will to subscribe!!!
13:27 it should be hot restart ,you will have error by hot reload
thanks was searching for this!
Mine says my virtual device isn't applicable for the main.dart configuration any help would be appreciated.
Man you solved a problem that was actually so depressing, Thanks a lot.
Love from India.
thanks mate
bro love that you go in-depth on the explaining
Appreciate it! :) thanks
Your background is so cool :D! i really appreciate the way you make us understand flutter so easily
your an amazing teachers thumbs up to you man! :D
Hello Sir, Your explanation and this tutorial is totally "a good thing" for humanity. Thank you!
Nick Manning suggests, rather than the default boilerplate, instead always start with a 3-file setup:
main.dart:
import 'app.dart';
main() {
runApp( App() );
}
App.dart:
import 'home.dart';
class App extends StatelessWidget {
@override
Widget build (BuildContext context) {
return MaterialApp ( home: Home() ); // MaterialApp widget
}
}
Home.dart
class Home extends StatelessWidget {
@override
Widget build (BuildContext context) {
return Scaffold {
... appbar , body ...
}
}
which android/ios language should be chosen in newest Android studio, in order to continue this course?
Yaaay, thank you Shaun! It's so exciting to follow this series
Any plans on making data structure and algorithm playlist?
Everything was great until i found out the changes across versions was too high. Good totorial anyway.
You told us that => is used to return something, please explain why a void method is returning something here "void main() => runApp(const MyApp());". Sorry but I'm a bit confused, I followed your previous tutorial where you taught on dart basics and I remember clearly telling us that this symble => is used to return?
I have a AMD Ryzen so i needed to do a view changes, but for now it looks like the FloatingActionButton works smoothly. Thanks a lot.
i also have a ryzen and im getting an error everytime i try to launch the emulator, it says i need to manually download the drivers
@@colbykapalka7895 Download in your SDK manager (Tools-SDK-manager -Systems-Android SDK-SDK Tools) the Hypervisor Driver for AMD processors.
Awesome video! Thankyou for this series! ❤
I think, I can hear your computer fan running fast while running that emulator! 🔥
Haha! thanks for watching :) glad you enjoyed it! be sure to check out the updated crash course here: ruclips.net/video/j_rCDc_X-k8/видео.html
@@NetNinja Thankyou very much for the ❤️ and the reply! It really made my day!
This is rather confusing to follow using the 2022 Android Studio, but if you look hard enough you can make it work.
I never got to the same point as running the demo app. I don’t suppose you could explain what you did?
@@SepiaMN Terribly sorry. I have Long Covid. I can't remember my name half the time. I'd have to totally repeat the process to get any sort of answer. Sorry.
i'm using Vscode with flutter and dart extention , so should i watch your tutorials !!!
the net ninja + the new boston =
+ Traversy Media = A bomb of knowledge!
Cory Schaffer!
Thank you for making it so simple: two line code for 'hello ninjas'.
you really are helping thousands if not millions my bro... big up for ya self.
Even a 37 hour tutorial did not cover the basics as explained here. Cheers!
Beginners, no need to test your code. Fascinating 😂. Great tutorial so far!!
Thanks Vlad!
Open android studio
Configure
01:55 - add additional plugins (flutter)
02:40 - restart IDE
02:48 - start flutter project
**Flutter SDK path
--- C:\src\flutter -- is the default SDK path in windows
05:20 - explaining directory structure
07:58 - explaining main.dart
>> 07:40 - opening android device & preview
>> 11:25 - editing main.dart
add additional plugins did not prompt when I opened Android Studio, idk why. Can you please help me
@@encouragemint3869, then you can search for plugins by the following path. Go to files > Settings > Plugins tab at the left sidebar > Now you can search for any kind of plugins in the market place.
Update, I found it already.
Hey Sean, do you have a paypal or something? I would really like to make a one time donation but I'm not a fan of the whole patreon subscription schema
Hey Zain, thank you so much, my paypal is www.paypal.me/thenetninja
@Boston Mendonca What is your GPU and how did you update it?
@Boston Mendonca device manager is not always updated with the newest drivers. Try other methods. I am using gtx1050 and I update my drivers through nvidia geforce
@Boston Mendonca just go on the intel website and download it from there.
@Boston Mendonca sometimes it takes a bit time,
If it takes a really long time get out of the emulator then retry
I am a long time Xamarin developer (as you can tell from my username) and have always wanted the opportunity to deploy to the web. Flutter allows that so I am seriously considering switching.
Hi Shaun, am happy i found your tutorial and Started learning Flutter, In my scenario just installing the flutter and dart then restart Android Studio doesn't worked, but with installing the Android APK Support and Android NDK support worked for me. Just want to address this issue which i faced.Started your next tutorial.Thanks
Thanks for these videos! My Android Studio looks totally different from yours and it makes it extremely difficult for me to follow along.
exactly!! so what did you do?
@@someone827 what did you do?
What did u do? I'm facing the same issue...
@@_niharikabhardwaj__ I just let the project be and faced web development
My "new flutter project" page looked significantly different from yours in this video. Has there been an update that changed the whole format of that process?
Andy, can you help me plz. i got the same page like you... if you find the problem
@@saeedR86 It does look different now due to an update, but all the functionality is basically the same. I think there are just a couple things you no longer have to specify.
To be honest, while I love Net Ninja's courses and teaching style, I've found it difficult to follow his flutter courses since the framework has changed so much since they were written. I'd love to see an update
me and my dad always watch ur tutorials since Laravel website days
Awesome! :) say hi to your Dad for me.
@@NetNinja thanks for the replay, and my dad says hello
instantly deleting the unit test folder, a very realistic project, like in real world.
Thanks for the series! One question - in your gui, the vertical indent guide is highlighted / changes color when you select code within it. additionally, there is a horizontal line where the vertical indent guide ends. How did you do this? It really helps with reading code. I searched everywhere, but I cannot get it to set to be interactive and the same style like it is in your editor. EDIT: found it. if the project does not recognize the flutter sdk, this happens. I had to set the projects flutter path manually. Keeping the comment up in case someone else has the same problem.
Thanks this helped.
Ah merci ! Moi qui voulait recommencer à coder, j'ai voulu lancer mon application sur Android Studio et j'ai un peu galéré à retrouver comment faire. Très bien expliqué !
I had the same expression seeing the default code in the main.dart "Hmmm... This doesn't look simple :P ". Btw, The way you explain is so good .. Thank you :)
Loving your work, Sean - hugely appreciated. Flutter looks like webdev is finally getting there. (Perl CGI is a while ago now ...)
Catching up with this series in Jan/Feb 2020 and I think a few things may have subtly changed already.
I had licencing issues on Android Studio startup which were resolved with :
"flutter doctor --android-licenses"
(I replied "y" to a series of 'accept' messages (6?) which seemed to do the trick.
The Nexus 5 emulator wouldn't get past the black screen, which seemed to get cured by turning on the Cold Boot option in advanced settings.
Thanks again, and good luck.
For peoplw having gradle task assemble problems, go to *user*/AppData/Local/Android/Sdk/platforms and delete all folders inside (into the bin, don't clear it cause you'll need them later). Try to run the code on the emulator again, but it won't let you. Now restore the folder/folders from the recycle bin, maybe restart Android Studio and hopefully it will run without errors. I know this doesn't make sense but somehow it worked for me (someone advised to delete the folders, I did it but it still wouldn't run so I restored them and it worked)
Got skillshare but this is the best tutorial compared to those
I have a Gradle problem in android studio. I can’t understand what’s going on.
What went wrong:
BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript’ Unsupported class file major version 60
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Guys Like this will be hated very much by programming experts who love to uphold that sense of elitism 😂. He’s teaching very effectively for free!
Hello I am a developer.
My flutter is ok. Now, I have downloaded android studio for Android Virtual Devices (AVD) but i can not connected devices (AVD) on my project. On the other hand my windows does not support virtual devices. I have checked HAXM. So now what can i do for that?
Perfect learn easy language clear view ... thanks , a lot of thank to your courses
Very well spoken and to the points... (unlike other tubers that are still beating viewers to death with constant CTA)
Thank you for these lessons! They're a great help! Stuck a little though...
After creating the AVD Device, it is not showing up in dropdown.
When I open AVD manager, the device is present but when I run it, it shows error "Unable to locate adb" (and device opens up).
I checked StackOverflow for this but the solution they gave (reg. platform-tools) is not working either. Any suggestions? Thanks!
@h Like my comment so someone might reply. I'm still stuck!
@isd I solved this issue by following and with the help of this video:
ruclips.net/video/U4TJ5ITGe5Y/видео.html
You may need to do a lot of terminal/cmd prompt work. Take the help of this video and stackoverflow/google as you work on it.
Do you have the solution?
VSCode with your phone connected to the computer is much better than emulation
you can also push it to your phone in android studio, you don't need vscode for that specifically but vscode is nice to use
Does that work with iPhone?
Can you just take whatever app you made for Android in Android Studio and build it in Xcode to make it an iOS app? Thanks
Thank you so much for this amazing video, but it is taking an extremely long time to run my application for the first time. Why is it so?
Well done, mate! Quality teaching!
excellent ur videos are so easy to follow mate
Thanks HM, glad you think so!
Hello, thanks for this great video,,,,, how can I run this app on iOS simulator using android studio in windows ??
Hello sir I’m having problem previewing the dummy app on my emulator
0:48 you should also create an advance english course xD. i liked the word plethora.
Love that wallpaper
link plz
Hello Sir
I follow up the same steps as yours but there is android studio 3.1 version downloaded which is very different from yours one, so what should i do now?
I really like your explanation
how can i solve it ?
Could not open settings generic class cache for settings file 'D:\StudioProjects\myapp23\android\settings.gradle' (C:\Users\Muaviz Shah\.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 60
Great tutorial for beginners on Flutter #100/100
anyone here after mike made his video on making his own app
Yup
me
Haha Yea
Me
Very clean English, thanks maaate
Thank you for the wonderful course and you have explained in such a nice work❤❤💖💖
Hello, I've created the virtual device, but why is it not appearing on the options from no devices selected button?
I had the error "Android Emulator Hypervisor Driver for AMD Processors installation failed." but I fixed it by going to the BIOS and enableing the svm mode. Hope this helps someone
you make learning so fun thank u Ninja
While running the demo code , error occurs :
Exception: Gradle task assembleDebug failed with exit code -1
Please help with the issue.
hi did you ever fix this cause i'm having the exact same issue
@@arnoldekechi6391 no soln is present anywhere related to this problem , even the flutter community has no answer related to it , eventually i gave up on it .
Beard Juice
4 months ago
I had this exact same problem and it's an easy fix.
Open your build.gradle file: \[project_name]\android\build.gradle
Find the dependencies section - it should have a like this this: "classpath 'com.android.tools.build:gradle:3.5.0'"
Change that to 3.4.2 instead: "classpath 'com.android.tools.build:gradle:3.4.2'"
I found this on the Flutter github somewhere. They mentioned there's a bug in 3.5.0 and to just set it to 3.4.2 until a fix is released.
That moment after 500 flutter tutorials when he deletes everything and you realize finally someone actually going to explain something.
Awesome tutorial. Thank you Shaun.
Very Well explained Thank You
..❤❤❤
Anyone else run in to issues with hot reloading not working when changing the default code to run from MaterialApp() inside the runApp function? (i'm using vscode btw, not android studio)
hello sir please can you do a video for 2024
i like the way you teach!!!!!
This tutorial is totally amazing 👍🏼👍🏼
You explain very very well! Thanks!
Yaaay, big like thank you so much ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
When I try to run a flutter app on my physical device, my physical devuce does not show up on the list to choose from. I only see web and desktop. Help
I'm a beginner & using Android Studio Giraffe. I can't find the main.dart program file in my installed app. There's just giti.ignore, misc.xml, modules.xml, workspace.xml & a main.c file with 2 lines of code in src. Please help me .. I've been stuck on it for hours now!
Amazing course, thank you!
You're very welcome! Hope it was useful.
i don't have the configure button on android studio what should i do edit: lol im so stoopid the tab was to small so the button didnt like register or configure yet
sir.. do we need java jdk before installing android studio? I tried without it.. And i could not run the main.dart program. it shows me an error..I followed ur all instructions.. I am loving ur tutorial.. plz help me..
Yes Java 8 is required
Do you plan to organise intermediate classes ?
Your class is really great!
Hi and many thanks for this great course! However I couldn't activate emulator it freezes on the download step, I searched and couldn't find this error on google, hey guys can you give me some pointers please?
Hi, I am following what you did in the video, but for some reason, the nexus 6 that I set up does not appear in the drop-down menu next to "no devices." I could run it by clicking on the adv manager and then running it from there, but I did not get the Gradle set up message. My predicament here is that I can't do anything after the Gradle set up step, and for your information, I have followed everything step for step in all your videos so far. Please help asap (btw I really like your videos it has helped a lot).
Hope you've solved this by now but if you haven't, what I tried to do is wipe data of the emulator from AVD Manager and then run flutter doctor. It worked.
@@snai_k yeah I am gonna try that thanks
It took my laptop 22 minutes to run the app in my physical device at the first time.
For those getting the error: gradle task assembledebug failed with exit code 1
Run 'flutter doctor' on terminal. And try to fix the error with the category mentioned. For me it was some Android toolchain. They even provide the command for the fix along with it so read whatever is given on the console/terminal and fix it.
ihave the same issue install flutter with android studio either
i still get the error even when in flutter doctor it says everything is fine
@@luckycomicsintl.officialch1945 Did you fixed that somehow?
Beard Juice
4 months ago
I had this exact same problem and it's an easy fix.
Open your build.gradle file: \[project_name]\android\build.gradle
Find the dependencies section - it should have a like this this: "classpath 'com.android.tools.build:gradle:3.5.0'"
Change that to 3.4.2 instead: "classpath 'com.android.tools.build:gradle:3.4.2'"
I found this on the Flutter github somewhere. They mentioned there's a bug in 3.5.0 and to just set it to 3.4.2 until a fix is released.
You have to install java and update your dependencies
if start take a lot of time, write this in terminal
cd android
gradlew clean
gradlew build
cd ../
flutter clean
flutter doctor (optional)
and then start the program again
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
What should be the minimum system specs for installing these android studio and all?
Hey there, i've installed Android Studio, Flutter Plugin and configured AVD. But when i start the APP there are no devices available to chose. Any advice?
As I remember, just open avd manager separetely first, then open the device. Then go back to studio and run app.
hello i have a problem and i don't know how to pass it
when i click on it doesn't show me the AVD that i created it shows me "Chrome(Web)" and "Windows (Desktop)"
i tried to uninstall android studio and flutter so many times but it didn't work please help me
facing the same issue.... Please share the solution if you find any.
@@mr.reverseit5257 hello i fix it
i uninstall flutter, dart, Android Studio completely from my PC then i reinstall them and i followed this video
but be sure when you uninstall Android Studio you uninstall it completely from your device just follow a RUclips video and there you go
hope that you can fix your problem and good luck
I follow exactly all of your paths but once I create a new project the folders on the lft don`t show. I only get the ¬idea¬ folder. What am I doing wrong?
you're really so good ,thanks
Hi dude your videos are awesome, can you share your wallpaper I am very fond of that.
how did you deal with the error on widget test ?
I see an error saying "Myapp is not a class" after erasing all that code
In the previews lesson you told us : the void function does not return anything! but here the void main function return runApp(myApp()) ?
please tell me why? thanks
Hi Bro,
Not getting the Android and iOS folder under myapp
Sana all smooth ang PC