Run flutter app on real device | Flutter app on Android mobile phone tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so hey hello everyone for this video i'm going  to show you how to run your flutter app in your   android mobile device so currently i have here a  sample project okay it's just a simple piece of   code simple app that i have done so first thing  what you'll do is before running a flutter app   you need to connect your mobile phone by using a  usb to your laptop or your pc for those who don't   know what is a usb is it's just this simple cable  usb cable so this is a cable that is used to put   charge to your mobile device so just connect it  to your laptop or pc okay got your mobile phone   so after connecting it what you will do is you  need to go to settings option of your mobile   phone so i have actually projected my mobile phone  screen over here so you'll go to settings okay   settings option and you need to go to developer  options okay developer tools or developer options   it may be called differently in some devices  okay so just if you have the search option or   in settings of your mobile device just  search developer options and if you don't   have it will be present in more settings as  in my case and just go to developer options   okay so after going developers options just go  to just you know to on two options one is usb   debugging just click allow and another one  option is going to be developer options   itself so just click allow also so actually  like it will come like a dev mode like a   red notification on top of your device so it  isn't any harmful it won't do any harm to your   device so don't worry about that so after checking  these two options just come back to your android   studio and here you can see the name of your  mobile device so my phone is vivo so i can   see the name of my mobile device over here and  you will be also seeing your own your device   so now if i just go go to my okay mobile phone  and if i just un uncheck both these options okay   and again go to android studio as you can see here  no device selected so i have only the two devices   that is the chrome chrome web and problem server  i don't have my device and if you just do it again and very shortly okay so i'll get my device okay so just want  to tell you why we are doing this so once you   have selected our device okay just hit this run  option over here run main dot dart just run it so as you can see here here in this run like  terminal you'll be getting launching library slash   main.dart on your mobile device in debug mode and  it will come running gradle task assemble debug so   if this is your first time that you're running  your flutter app it will take definitely take   some amount of time and this time depends upon the  speed of your laptop and your speed of your mobile   in my case both of both are slow so it will take  some time for me okay so after sometime we'll be   getting this tick option and build build app  some app debug apk and if you don't get any   red color text over here in this console  that means that your app is successfully   installed on your device and now if i just go  and check on my device i'll be getting this app   name so it's this is the flutter logo as you can  see if you have if you haven't specified in your   logo you will be getting the default logo and  if you can even specify some logos okay and this   name of the new trail this directly corresponds to  the name of the project so as you can see here my   project name is new trail so my that's the app  name okay so just if you just open this app now so   just click and open it so it's basically a simple  to-do app okay so your app just pops out but if   you run successfully okay and suppose if you  have run your app and you want to stop all the   process you can just click the stop button it just  terminates your running of your app on your mobile   device so that's it we have run successfully our  flutter app on our your mobile device so that's it   for this video and I have done many tutorials in  c c plus plus java flutter also unity blender etc   so do check out other videos of my channel kindly  subscribe and support me and thanks for watching
Info
Channel: United Top Tech
Views: 88,548
Rating: undefined out of 5
Keywords: Run flutter app on real device, run flutter app on Android mobile phone
Id: v01ISnOIbL8
Channel Id: undefined
Length: 3min 58sec (238 seconds)
Published: Fri Apr 23 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.