android sdk: how to install

Post on 10-May-2015

1.381 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Installing  Android  SDK    

Jussi  Pohjolainen  

Prepare  your  Computer  

•  So;ware  –  Java  Development  Kit  6  or  7  – Android  Development  Tools  – Eclipse  3.6.2  or  higher  (Classic  recommended)  – Android  Development  Tools  Plugin  for  Eclipse  

•  OperaJng  Systems  – XP,  Vista,  Windows  7  – Mac  OS  X  10.5.8  or  later  – Linux  (tested  on  Ubuntu)  

 

SDK  tools  

•  SDK  tools  are  all  you  need  •  Contains  all  necessary  command  line  tools  for  building  and  running  your  apps  

•  When  SDK  tools  are  downloaded  and  installed,  you  must  –  Install  Android  PlaXorm  – Configure  emulator  

SDK  Tools  

Command  Line  Tools:  tools/

Command  Line  Tools:  platform-tools/

Install  PlaXorms  

•  To  install  plaXorms  (2.2,  …  4.4),  open  SDK  Manager  

•  How?  –  android sdk

•  Select  the  plaXorms  you  like  to  install

plaXorms/  

Create  and  Configure  Emulators  

•  To  create  and  configure  emulators  (android  virtual  devices)  –  android avd

•  Click  "New…"  to  create  new  virtual  device

Virtual  Device  is  SLOW….  •  Don't  use  virtual  device,  use  

real  device  •  Buy  SSD  •  [x]  Snapshot  saves  a  

snapshot  of  emulators  RAM  (hibernate)  –  Speeds  up  booJng  

•  [x]  Use  Host  GPU  uses  host  computer's  graphics  card  –  Speeds  up  all  graphics  

operaJons  •  You  cannot  have  both  of  

these  on  at  the  same  Jme!  

ADT  Plugin  for  Eclipse  

•  Install  using  "Update  Manager"  in  Eclipse  – Help  »  So;ware  Updates  or  Help  »  Install  So;ware  

•  Click  Add  –  https://dl-ssl.google.com/android/eclipse/

•  Select  Developer  Tools  and  Install  •  Restart  Eclipse  

Configure  ADT  Plugin  

•  Once  ADT  plugin  is  installed,  you  must  configure  it  

•  Open    –  preferences  »  android  

•  Locate  the  Android  SDK  

Android  SDK  Bundle  

•  With  a  single  download,  the  ADT  Bundle  includes  everything  you  need  to  develop  – Eclipse  +  ADT  plugin  – Android  SDK  tools  – Android  PlaXorm  tools  – Latest  Android  PlaXorm  

top related