Setup On Linux

13 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€93.70
List Price:  €131.19
You save:  €37.48
£80.17
List Price:  £112.24
You save:  £32.07
CA$137.56
List Price:  CA$192.60
You save:  CA$55.03
A$155.17
List Price:  A$217.25
You save:  A$62.07
S$135.98
List Price:  S$190.37
You save:  S$54.39
HK$783.01
List Price:  HK$1,096.25
You save:  HK$313.23
CHF 90.89
List Price:  CHF 127.26
You save:  CHF 36.36
NOK kr1,101.16
List Price:  NOK kr1,541.68
You save:  NOK kr440.51
DKK kr699.21
List Price:  DKK kr978.92
You save:  DKK kr279.71
NZ$168.70
List Price:  NZ$236.19
You save:  NZ$67.48
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳10,942.52
List Price:  ৳15,319.96
You save:  ৳4,377.44
₹8,353.31
List Price:  ₹11,694.97
You save:  ₹3,341.66
RM478.30
List Price:  RM669.64
You save:  RM191.34
₦129,687.03
List Price:  ₦181,567.03
You save:  ₦51,880
₨27,754.24
List Price:  ₨38,857.05
You save:  ₨11,102.81
฿3,676.55
List Price:  ฿5,147.32
You save:  ฿1,470.77
₺3,250.48
List Price:  ₺4,550.80
You save:  ₺1,300.32
B$523.28
List Price:  B$732.62
You save:  B$209.33
R1,903.66
List Price:  R2,665.20
You save:  R761.54
Лв183.15
List Price:  Лв256.41
You save:  Лв73.26
₩137,464.20
List Price:  ₩192,455.38
You save:  ₩54,991.18
₪378.95
List Price:  ₪530.55
You save:  ₪151.59
₱5,720.89
List Price:  ₱8,009.48
You save:  ₱2,288.58
¥15,440.72
List Price:  ¥21,617.62
You save:  ¥6,176.90
MX$1,696.11
List Price:  MX$2,374.63
You save:  MX$678.51
QR363.78
List Price:  QR509.31
You save:  QR145.52
P1,378.02
List Price:  P1,929.29
You save:  P551.26
KSh13,298.67
List Price:  KSh18,618.67
You save:  KSh5,320
E£4,850.08
List Price:  E£6,790.31
You save:  E£1,940.22
ብር5,673.01
List Price:  ብር7,942.45
You save:  ብር2,269.43
Kz83,741.62
List Price:  Kz117,241.62
You save:  Kz33,500
CLP$97,883.21
List Price:  CLP$137,040.41
You save:  CLP$39,157.20
CN¥723.83
List Price:  CN¥1,013.40
You save:  CN¥289.56
RD$5,893.56
List Price:  RD$8,251.22
You save:  RD$2,357.66
DA13,447.21
List Price:  DA18,826.63
You save:  DA5,379.42
FJ$227.04
List Price:  FJ$317.87
You save:  FJ$90.82
Q775.43
List Price:  Q1,085.64
You save:  Q310.20
GY$20,874.74
List Price:  GY$29,225.48
You save:  GY$8,350.73
ISK kr14,084.59
List Price:  ISK kr19,718.99
You save:  ISK kr5,634.40
DH1,011.98
List Price:  DH1,416.82
You save:  DH404.83
L1,789.85
List Price:  L2,505.87
You save:  L716.01
ден5,767.34
List Price:  ден8,074.51
You save:  ден2,307.16
MOP$804.17
List Price:  MOP$1,125.87
You save:  MOP$321.70
N$1,897.84
List Price:  N$2,657.05
You save:  N$759.21
C$3,669.73
List Price:  C$5,137.77
You save:  C$1,468.04
रु13,346.58
List Price:  रु18,685.75
You save:  रु5,339.16
S/375.13
List Price:  S/525.19
You save:  S/150.06
K378.96
List Price:  K530.57
You save:  K151.60
SAR375.09
List Price:  SAR525.14
You save:  SAR150.05
ZK2,519.95
List Price:  ZK3,528.03
You save:  ZK1,008.08
L466.17
List Price:  L652.66
You save:  L186.48
Kč2,369.01
List Price:  Kč3,316.71
You save:  Kč947.70
Ft36,915.02
List Price:  Ft51,682.51
You save:  Ft14,767.48
SEK kr1,089.22
List Price:  SEK kr1,524.96
You save:  SEK kr435.73
ARS$86,913.85
List Price:  ARS$121,682.87
You save:  ARS$34,769.02
Bs690.45
List Price:  Bs966.66
You save:  Bs276.20
COP$391,130.80
List Price:  COP$547,598.77
You save:  COP$156,467.96
₡49,957.95
List Price:  ₡69,943.14
You save:  ₡19,985.18
L2,461.44
List Price:  L3,446.12
You save:  L984.67
₲737,867.79
List Price:  ₲1,033,044.43
You save:  ₲295,176.63
$U3,889.78
List Price:  $U5,445.86
You save:  $U1,556.07
zł405.87
List Price:  zł568.23
You save:  zł162.36
Already have an account? Log In

Transcript

Hello in this video I am going to show you how to set up flutter on a nine x based machine I'm on Ubuntu you could be on some other line Express machine if you want to. If you want interesting example Windows or Mac, feel free to check those videos I have made them as well. So the first thing you want to do is open up a web browser. Go to Google and literally search for flutter. Go to flutter IO link opera my links to everything so you don't have to manually type if you don't want to go to get started. Select your operating system, which is why Next, scroll down click this button right here.

This will download the flutter file don't constantly like the way I'm going to. I'm simply canceling it because I've already got it downloaded. Next thing you want to download is Android Studio, which we can scroll down and click on here and click that. I have agree I read and agree done This will take a little longer console over a gig. And I'm going to come to that again just because I've already got it downloaded. That's the only reason I've cancelled it just to save time.

Now we're all done with the web browser. What we can do is open up our Downloads directory. And this studio is the Android Studio for yours will be named from the Android Studio. I renamed it to studio sang flutter as well flutter will be named with like the version name etc. It's just easier to name it flutter and studio. Just because you know when we're dealing with in the terminal shortly, it is just Well, a lot easier to type fluttering compared to flutter you know on this one liner to the school version, you know, whatever it is to open up your terminal.

If you don't have a day go to all you know all application and you'll be there somewhere and open up your terminal we will do is CD to the download directory LS is drug over file for though have the folder there. understood that you can also right click and open in Terminal well, so from here we need to own zip, our flutter folder, we can do that by doing flutter flutter flutter sorry, we need to put tar x f and we'll use dot tar dot exe Zed. And Aleksey a photo folder has been created, we got to wait. He won't take very long at all. I'm going to wait a moment now it will be successful. So once you get back to this way you can enter another command.

That means done. So what you want to do now is copy this. copy that and put it somewhere where you are happy with to have the other permanent you know folder and permanent you know framework. I put mine in the Documents folder quick folder called development and I've already got it there because I said it up before this video just to you know, get the steps all nailed down and just paste the URL regarding done so I'm not going to redo that. So once you done that, what we want to do is now add it to our path. And we can do that by going to the home directory.

And in here you'll have a file called dot bash underscore profile. If you don't actually have this, you know particular file Dennis created and make sure it's called dot bash underscore profile. There's no file name, it just has an extension of dot bash underscore profile open this in some form or text editor and what you need to do is put export space path equals quotation marks, dollar path colon and here is where you put the path to since floater bed so you'll need to put you know This folder here, you can right click go to properties, you know, just copy that. And that will paste the folder minus one directory through this port forward slash bin. And that's the only difference that you're see, you know, compared to mine is this directory Wow, slightly different. You'll probably have a different username.

You might not print document or the development folder, but part native thing, and it was a double quotation marks, save it. And now what we need to do is I can run the file in the command line, so we can run that Bye bye, Chris and put her on it. And we go back to our home. I'm literally dragged her on here. But we want to navigate to the directory so we want to see doing We can just drag this on the navigate to the directory, the new dot forward slash bash underscore profile. Why is not running?

Off sorry, what you meant to do is source than the file. And you could even do dot bash profile or drag it like this. That's what you meant to Okay, let us run it, done it. If we went to the doctor, doctor now, you'll run flutter, and you'll say this is green. This should have a green tick for you. These two will most likely have a cross that is fine.

That's because we are going to set up Android Studio now I've already been set up the connected device doesn't matter because we'll be using an emulator which will obviously technically collected, I mean connected later on. Also, if you have a device, you can plug that in, have it in development mode. And you can use that you any question regarding the process of that, feel free to pop me a message as well. So let's now set up Android Studio. So to set up Android Studio, what you want to do is go to your download directory, and you want to unzip this file here. So to unzip the file, all you need to do is navigate to this directory and typing on zip, then the name of the file which is studio dot click enter.

I'm not going to click and tackle have already you know got the folder there. But once you click enter, you get this Android Studio file folder sorry, the once you've got this, you want to open this and go to bed and you want to run the studio door haich file, we can run that by doing CD dragging on Ben, we can turn and we just open the studio.sh file by doing dot forward slash studio.sh. And it will look so this is how you launch of Android Studio. It is dancin yoke right now, you won't get this page straightaway, because it will actually bring up the setup wizard, because I've already installed it. So what you will want to do is just go through the setup wizard, keep everything as standard is pretty straightforward as keep, you know, click clicking continue, accept anything that he asks for.

And once you start, it gets to the point where it downloads and installs Android Studio. It will take a bit of time to just be patient. You will also once you've completed and Android Studio launches, you won't have this option that it starts New flutter project, we need to set up flutter. So go to configure settings, go to plugins and go to browse repositories. Search for flutter. As you can see here, it says install on flutter.

Mine doesn't have an install button. On your end you will see an install button because you won't have installed yet. So users basically want to not click this install button. Click the Install button under flutter. Your asks ask you to accept it and make sure you like it. ask you if you want to install dot click yes for both.

Once that's done, it'll say do you want to restart the editor does fine Click Restart, click OK. Then it will be started and once it restarts it starts a new flutter project will be there. And now we're ready to start a flutter project. So click Start. Click flutter application. Next, you want to specify a application name You want to if there is no flutter SDK path, and it's the little red warning saying can't find path, you just click on the three dots go to wherever you put your flutter folder. And literally just select the flutter folder, click OK. And that's it.

Select a project location where you're going to create your project and save it. I'm going to leave it on the desktop, click Next. All of this can remain as default because this is just a setup video. If you know what you're doing, feel free to modify the settings. Click Finish. And this will create your flutter project and launch of the Android Studio ID which will appear at any moment now.

So click Close. And now I'm going to do is just show you this project running. So as you can see, we've got no devices. I'm going to create a emulator, you can either click this button that says Add manager or go to tools and go to AD manager even when it's fine to click this and click Create Virtual Device, select phone, TV, you know where iOS tablet your choice on select pixel to click Next. If it says download, you can click download. But if you go to x86 images, because you would will have installed an SDK by default, when you installed Android Studio, you should have one in the x86 images right here.

So you can select that. If not, just click download on the latest one in the recommend section and girlfriend steps, which you see I've selected click Next. And now what we want to do is go to emulated performance, you want to go to hardware, because this is just faster performance compared to the software. You can change the setting basis pretty simple stuff. And in advanced settings, you can choose How much no ramadas By default, the SD cost origin was a multi core CPU, you can keep it by default, honestly, click Finish. Now, if you click the play button, and if you get any sort of error regarding this says grant user access to forward slash dev kV m, then what you want to do is open up the terminal.

You want to go to File New Tab because we don't want to overwrite what's happened there when typing sudo. ap to install Shi em u dash KVM and put in your password. Even if you can't see it, don't worry it is being typed and model probably be a little quicker than yours. gabri done this step before you even do sudo Add User and now you want to put your username for me beforehand. It is case sensitive for where they mind TBM I'm already member of it, so it's fine. And I just sudo CH, o w n, four slash, four slash KVM.

And now if I go back, and I run it, as you can see it's close this down now. And we just need to wait for this to successfully launch safely look like a phone. Any moment now, we'll get the homescreen for our emulator, and then we can run the application. I've seen this a lot. So chain is basically like a phone. So we have you know, Google there, we've got, you know, got the browser.

So we can run it by literally clicking this play button. And as you'll see, you're going any moment now, these steps I say, initializing grade or resolving dependencies, greater task, assemble, debug, these will most likely take a little longer for you. Because it is the first time you're doing it, the first time you do it, it does take a little bit longer. So just bear that in mind. And that's it. And now this default app is canned every time we click this button.

And that's it. That's all there is to setting up floater on a Linux based machine. So you can develop flutter application for Android. If you have any questions about the KVM stuff about flutter, Android Studio, the Android SDK or any parts of it, because you know, I will find the setup day for most frameworks is the, you know, the most complex part because frankly, sometimes the documentation isn't that beginner friendly, feel free to pop me a message and I will lend you a hand and help you set it up. As usual. I look forward to seeing you in the next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.