android sdk: how to install

13
Installing Android SDK Jussi Pohjolainen

Upload: jussi-pohjolainen

Post on 10-May-2015

1.380 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Android SDK: How to Install

Installing  Android  SDK    

Jussi  Pohjolainen  

Page 2: Android SDK: How to Install

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)  

 

Page 3: Android SDK: How to Install

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  

Page 4: Android SDK: How to Install

SDK  Tools  

Page 5: Android SDK: How to Install

Command  Line  Tools:  tools/

Page 6: Android SDK: How to Install

Command  Line  Tools:  platform-tools/

Page 7: Android SDK: How to Install

Install  PlaXorms  

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

•  How?  –  android sdk

•  Select  the  plaXorms  you  like  to  install

Page 8: Android SDK: How to Install

plaXorms/  

Page 9: Android SDK: How to Install

Create  and  Configure  Emulators  

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

•  Click  "New…"  to  create  new  virtual  device

Page 10: Android SDK: How to Install

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!  

Page 11: Android SDK: How to Install

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  

Page 12: Android SDK: How to Install

Configure  ADT  Plugin  

•  Once  ADT  plugin  is  installed,  you  must  configure  it  

•  Open    –  preferences  »  android  

•  Locate  the  Android  SDK  

Page 13: Android SDK: How to Install

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