Setup On Mac Android

11 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
€91.97
List Price:  €128.76
You save:  €36.79
£77.70
List Price:  £108.78
You save:  £31.08
CA$138.25
List Price:  CA$193.55
You save:  CA$55.30
A$152.72
List Price:  A$213.82
You save:  A$61.09
S$134.20
List Price:  S$187.89
You save:  S$53.68
HK$780.59
List Price:  HK$1,092.86
You save:  HK$312.27
CHF 88.44
List Price:  CHF 123.82
You save:  CHF 35.38
NOK kr1,100.24
List Price:  NOK kr1,540.39
You save:  NOK kr440.14
DKK kr687.33
List Price:  DKK kr962.29
You save:  DKK kr274.96
NZ$169.82
List Price:  NZ$237.75
You save:  NZ$67.93
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.92
৳11,743.81
List Price:  ৳16,441.81
You save:  ৳4,697.99
₹8,371.41
List Price:  ₹11,720.31
You save:  ₹3,348.90
RM465.70
List Price:  RM652
You save:  RM186.30
₦165,740.53
List Price:  ₦232,043.38
You save:  ₦66,302.84
₨27,788.10
List Price:  ₨38,904.46
You save:  ₨11,116.35
฿3,584.57
List Price:  ฿5,018.55
You save:  ฿1,433.97
₺3,297.92
List Price:  ₺4,617.23
You save:  ₺1,319.30
B$564.64
List Price:  B$790.52
You save:  B$225.88
R1,827.40
List Price:  R2,558.44
You save:  R731.03
Лв180.11
List Price:  Лв252.16
You save:  Лв72.05
₩138,473.15
List Price:  ₩193,867.95
You save:  ₩55,394.80
₪365.84
List Price:  ₪512.19
You save:  ₪146.35
₱5,845.41
List Price:  ₱8,183.81
You save:  ₱2,338.40
¥15,371.96
List Price:  ¥21,521.36
You save:  ¥6,149.40
MX$1,849.41
List Price:  MX$2,589.25
You save:  MX$739.84
QR364.19
List Price:  QR509.88
You save:  QR145.69
P1,352.81
List Price:  P1,894
You save:  P541.18
KSh12,979.15
List Price:  KSh18,171.33
You save:  KSh5,192.18
E£4,833.51
List Price:  E£6,767.11
You save:  E£1,933.60
ብር5,772.08
List Price:  ብር8,081.15
You save:  ብር2,309.06
Kz87,254.87
List Price:  Kz122,160.31
You save:  Kz34,905.44
CLP$94,724.52
List Price:  CLP$132,618.12
You save:  CLP$37,893.60
CN¥724.96
List Price:  CN¥1,014.98
You save:  CN¥290.01
RD$5,909.73
List Price:  RD$8,273.86
You save:  RD$2,364.12
DA13,421.76
List Price:  DA18,791
You save:  DA5,369.24
FJ$225.87
List Price:  FJ$316.23
You save:  FJ$90.35
Q774.58
List Price:  Q1,084.45
You save:  Q309.86
GY$20,907.04
List Price:  GY$29,270.70
You save:  GY$8,363.65
ISK kr13,804.61
List Price:  ISK kr19,327.01
You save:  ISK kr5,522.40
DH983.39
List Price:  DH1,376.78
You save:  DH393.39
L1,772.18
List Price:  L2,481.12
You save:  L708.94
ден5,666.48
List Price:  ден7,933.30
You save:  ден2,266.82
MOP$803.68
List Price:  MOP$1,125.19
You save:  MOP$321.50
N$1,822.62
List Price:  N$2,551.75
You save:  N$729.12
C$3,674.96
List Price:  C$5,145.09
You save:  C$1,470.13
रु13,374.15
List Price:  रु18,724.35
You save:  रु5,350.19
S/375.27
List Price:  S/525.40
You save:  S/150.12
K391.68
List Price:  K548.37
You save:  K156.68
SAR375.13
List Price:  SAR525.20
You save:  SAR150.06
ZK2,608.33
List Price:  ZK3,651.77
You save:  ZK1,043.43
L458.02
List Price:  L641.25
You save:  L183.22
Kč2,333.92
List Price:  Kč3,267.59
You save:  Kč933.66
Ft36,019.89
List Price:  Ft50,429.29
You save:  Ft14,409.40
SEK kr1,081.31
List Price:  SEK kr1,513.87
You save:  SEK kr432.56
ARS$92,801.80
List Price:  ARS$129,926.23
You save:  ARS$37,124.43
Bs690.67
List Price:  Bs966.96
You save:  Bs276.29
COP$403,758.19
List Price:  COP$565,277.62
You save:  COP$161,519.43
₡52,788.48
List Price:  ₡73,905.99
You save:  ₡21,117.50
L2,471.95
List Price:  L3,460.83
You save:  L988.88
₲756,054.93
List Price:  ₲1,058,507.15
You save:  ₲302,452.21
$U4,029.23
List Price:  $U5,641.08
You save:  $U1,611.85
zł393.63
List Price:  zł551.10
You save:  zł157.46
Already have an account? Log In

Transcript

Hello, in this video, I'm going to show you how to set up flutter. So you can create flutter projects and developing them on a Mac, for Android, if you're interested in for iOS on Mac, or you know, online apps or on Windows, I've got videos covering all that results, so feel free to check them out. Okay, so the first thing you want to do is open up your web browser to whatever web browser you want. And I will provide links to everything that you need. So you can check out that as well sort of typing. So you want to do that.

Go To get started, go to Mac, and from Yeah, click this. So download the zip file, I'm going to cancel it. I don't need to cancel it. I'm just canceling it because I've already got it downloaded now. The next thing we want to download is Android Studio. Just go on the website like this Download.

Again, I'm canceling it because I've already got it downloaded. And that's it for the web browser. Now, if I go into my download folder, what you want to do is unzip the slaughter zip file and you can do that just by double clicking it shouldn't take very long at all. And this will be the flutter framework that will be used to create flutter projects. Once this is done, I wanted to show you the next step. Next step is to copy this folder.

And I recommend printing in a folder called development within your application folder and this is where it will permanently reside cuz you need to refer to your your computer will refer to it so I'll recommend taking the out of the Downloads folder just for your better organization and paste it here. I'm not going to do that because I've already done it but you know, paste it And you'll have this inside the bin folder, there's a flutter file that you can launch to essentially, check the status of flutter. The problem is, if we want to just use this file, we have to always navigate to this directory. So what we're going to do is essentially integrate flutter into our system. So we can do it regardless of where our terminal is pointed to. So we have to constantly change directory.

So to do that, what we need to do is open up terminal and see the tilde for slash. This will take us to our home folder by default this should be the home folder, or recommend doing this just to make sure now you want to type in dot bash, underscore profile. And what this will do is essentially check if a file called dot bash profile exists in your home directory if not created for it. Does anyone do anything? So you do that now we want to edit this file. So you can open that a dot bash, underscore profile.

This will open it in TextEdit. The only thing we're interested in is this line, right? Yeah. So what I'm going to do just bear with me. I'm going to delete that. I want to put this here.

So let me pray enter here. So export space, uppercase path for p a, t, H equals double quotation mark dollar, again, path again, but uppercase colon, quotation mark. Before the closing quotation mark, we need to put the path for the bin folder. We can do that really easily by just dragging this on like so. And that is it. So that's essentially what you need to save that.

And now in your console, what you want to do is for doc bash The school protocol is basically committed. So if we were to openly again, the advocacy, the code is updated remember it, there wasn't a line gap before. So that's proven that is being updated. Now, if we were to run, flutter as many commands for the one we're interested in this video is Doctor which essentially just analyzes the installation of flutter. And you know, tell me if there's something wrong with it. So your would look slightly different to mine was do you know, it gives you the result just because we haven't completed the setup process for you get?

Okay. So here we go. flutter will be ticked for you, this will most likely be crossed. Depending on whether or not you've watched the iOS video and set that up. This will may be crossed as well, but we're not interested in that. And the Android Studio part will most likely come across as well unless you've got Android Studio installed.

You know, prior to this video for another project that's possible as well, we're not interested in the IntelliJ that is optional. And the connected device, if you were to physically plug in an Android device, you'll be there. Or if you open up the emulator, you'll be there. We're gonna use the emulator. Fine. I forgot to set this license.

So, if you get this right here, you know, the license part. Essentially, after you've done the separate which are shown in the moment, I recommend setting these licenses. This doesn't take long at all. Okay, why why why? Why? Why?

Okay, so now, that all don't we go back up. So we need to install, you know, Android now. So to install Android, presumably is simple. If you double click your Android Studio dot dmg, you get this nice, you drag this onto the application folder, I'm not going to do it because I've already installed it. It will ask me to overwrite, I'm not going to do that, but you strike it on your copied over, it's about a gig will take about a minute or two. Once that's done, you want to actually launch up Android Studio.

Open close this down now. So you want to launch up Android Studio, yours will look slightly different to mine because it's the first time that you will be launching your UI essentially be a setup wizard. Before you get to this part, go through the setup wizard, I recommend don't do a standard installation to a custom installation. And the only reason for that is allow you to select the AV D when you're selecting what you want to install. That's the Android virtual device, essentially the emulator and if anything else to tick as well just tick them. So just click Install.

It will take no for me took about 1015 minutes. So just be patient, it's downloading files and installing them. Once that's done, and you launch it off your wall quite look like this, you won't have a new flutter project. So what you need to do is go to configure preferences and let plugins, browse repositories, search for not and go flutter, you'll have a green Install button. Again for me, I've already installed it, we just click the green Install button. It will ask you to confirm the installation.

You're asking me to confirm whether or not you want to install dot confirm that once that's installed, just click close apply. Okay, then a window for you will pop up saying Do you want to restart and restore do you need to do that click that you'll restart it and this option will be available and then select this option. Select flutter application. I want to leave you with the default project name. The flutter SDK path should be detected If not, click the free dots and navigate to it. The project location I'm going to keep it as a desktop as well like to have it but you can choose wherever you want.

Click Next, you know what you're doing here regarding the package name the support for the languages Feel free to change this and the company name but for now we can leave it as default. Click Finish, we'll take a moment to create your flutter project and as you can see the folder has appeared here, so the process has already started. Okay, so now if we were to close this tip down, now what you want to do is go to here, which is the Add manager And you can click a new virtual device, you're probably under five decks by default, but I'll show you how to create a new one. select what type of device whether it's a phone, TV, a tablet a watch, you want to emulate, honestly, the pixel two and then click Next. And from here, go to x86 images, select the one that doesn't have the download button.

That's the one that's installed by default, you can choose the number one for testing purposes. If you really need to click Next, you can change the settings. The only setting I want you to change is this on graphics, change that to hardware just makes it faster. Click Finish. And now just click the play button. Push and we're basically on the home screen of a virtual Android device.

We can run our application our default application. Obviously in subsequent videos, I'm going to show you the different features and features Opponents of low tech and integrate them into our application because obviously, that's what you really want as well. So phone is starting. And now we're here. So we basically have a virtual Android device click play. This stage will take longer for you than it takes for me because it will be the first time you're doing it.

The initializing Gradle you can ignore this initializing grade or the next couple of tasks as well. won't take that long for me to resolve in dependencies. And the next one I think is the the Gradle task will take a few minutes for you most likely because it's the first time again it's the first time you're doing most of these steps. takes a bit of time because the initial setup and prerequisites that are going on behind the scenes, but don't worry, it will be as packed as mine pretty much maybe faster depending on your computer once you have actually good once and out installing the APK onto our To device, if you want you to choose the phone, you could choose the phone assuming it was connected. And now if no job is off the device, application weakness, click, and you show that you haven't done. So that's it.

And obviously we can slow down the application. So simple stuff. So that's it. We're all set up for developing flutter blame flutter basic applications on Mac, for Android. If you have any questions, feel free to pop me a message. And 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.