now that you have the SDK tools installed‭, ‬now we need to actually download each individual SDK component‭.‬
what i'm gonna do is just to create a shortcut on the desktop to the SDK manager‭. ‬i'm just so happy‭, ‬easy access to it‭.‬
now one of the important things is that‭, ‬when you lunch the SDK manager‭, ‬you lunch it as an administrator‭.‬
so to do that on windows here‭, ‬i'm gonna right click and i'm gonna choose run as administrator‭.‬
and again here we have that choose packages to install‭. ‬but i find it easier to not install through this window‭, ‬so i'm just gonna click cancel
and now we're in the SDK manager.
so now i click to available packages‭. ‬and we're gonna twirl down this android repository‭.‬
so here we can see each API version and we can download the SDK for that version‭.‬
now i recommend if you have the time to just go ahead and download everything in this folder‭, ‬we can just click and check off every thing‭.‬
just because it's gonna be helpful as certain applications you are gonna target
perhaps in different API versions‭, ‬to keep it simple though i'm just gonna download the SDK for gingerbread
cause that's the one we're targeting in this coarse‭, ‬so i'm gonna check that off‭.‬
now you notice it doesn't says gingerbread here and that's because you need to actually learn‭, ‬which version numbers represent which SDK‭.‬
so 3.0‭ ‬is actually honey comb which is a new tablet specific OS
here we have android 2.3‭ ‬which is gingerbread‭. ‬2.2‭ ‬which is Froyo‭.‬
and we have Eclair and then the earlier versions of the SDKs‭.‬
now the one thing really important to download are the samples for each API version‭.‬
these contain some great demos created by google which you can open up in the development tools
and really get a sense of how to utilize different parts of the operating system‭.‬
so again i'm just gonna download them for the gingerbread SDK here‭.‬
now you'll notice here we have this API 10‭, ‬it's also referenced up here‭. ‬
so internally in the SDK and also in the development tools each API is referenced by an integer number‭.‬
and gingerbread is represented by 10‭ ‬so we wanna get the API 10‭ ‬and also the samples for API 10‭.‬
so with those two selected‭, ‬i'm gonna click install selected‭. ‬and this is just you know asking us to verify‭, ‬just gonna say accept all‭.‬
and choose install‭. ‬so now it's gonna go ahead and download the SDK‭, ‬the update to the platform tools and also the samples‭.‬
so once this is done we're gonna go ahead and check out what was downloaded‭.‬
so now the download has finished‭, ‬so i'm gonna click close‭. ‬and then we can check in installed packages we could see what we have‭.‬
so basically have the SDK tools which was what we downloaded originally‭ , ‬and we have the platform tools‭,‬
which are just some additional tools that you're gonna use in development‭.‬
and then we have the gingerbread SDK platform and then we have the samples for gingerbread
so with this point now‭, ‬we've downloaded everything we need‭, ‬in order to start developing for android‭.‬
AndroidApp.blog.ir