Android	  Essen+al	  Tools	        Version	  2012-­‐08-­‐19	  (Android	  4.1)	              Jussi	  Pohjolainen	  Tam...
Essen+al	  Tools	  •  android     –  To	  create/update	  Android	  projects	  and	  modify	  Android	          Virtual	  ...
Crea+ng	  Project:	  Targets	  
Crea+ng	  Project	  
Result	  
Building	  •  For	  debug:	      –  ant debug•  For	  release	      –  ant release•  Release	  version	  must	  signed	  u...
Building	  
Android	  Virtual	  Devices	  •  To	  run	  the	  emulator,	  you	  must	  configure	     android	  virtual	  device	  •  T...
Star+ng	  the	  Emulator	  •  In	  avd,	  click	  start	  Or	  	  •  use	  emulator –avd   youravd	  command	  in	     com...
Installing	  App	  •  The	  compiled	  and	  packaged	  applica+on	  can	  be	     found	  in	  the	  bin/	  directory	  •...
Installing	  •  You	  need	  to	  use	  the	  adb	  app	  to	  install	  the	  app	  •  If	  you	  have	  only	  one	  dev...
Installing	  
Android Essential Tools
Android Essential Tools
Android Essential Tools
Upcoming SlideShare
Loading in...5
×

Android Essential Tools

1,261

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,261
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
31
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Android Essential Tools

  1. 1.   Android  Essen+al  Tools   Version  2012-­‐08-­‐19  (Android  4.1)   Jussi  Pohjolainen  Tampere  University  of  Applied  Sciences  
  2. 2. Essen+al  Tools  •  android –  To  create/update  Android  projects  and  modify  Android   Virtual  Devices  •  Android  Emulator   –  To  run  your  app  •  adb  (Android  Debug  Bridge)   –  Interface  between  emulator  or  device.  Install  apps,  shell   the  device,  issue  commands  •  Ant   –  To  compile  and  build  your  apps  •  Keytool  and  Jarsigner   –  To  sign  your  .apk  package  
  3. 3. Crea+ng  Project:  Targets  
  4. 4. Crea+ng  Project  
  5. 5. Result  
  6. 6. Building  •  For  debug:   –  ant debug•  For  release   –  ant release•  Release  version  must  signed  using  keytool  and   jarsigner  
  7. 7. Building  
  8. 8. Android  Virtual  Devices  •  To  run  the  emulator,  you  must  configure   android  virtual  device  •  To  open  AVD,  use  command  android avd•  Click  new  to  create  new  AVD  
  9. 9. Star+ng  the  Emulator  •  In  avd,  click  start  Or    •  use  emulator –avd youravd  command  in   command  line  
  10. 10. Installing  App  •  The  compiled  and  packaged  applica+on  can  be   found  in  the  bin/  directory  •  In  debug  –  mode,  the  app  cannot  be  distributed   in  Google  Play,  but  it  can  be  installed  on  device   or  emulator  •  To  see  list  of  devices  a9ached  to  your  computer   (devices,  emulators),  use  command  adb devices•  adb? =  Android  Debug  Bridge,  command  line  tol   for  communica+ng  between  devices  and   emulators  
  11. 11. Installing  •  You  need  to  use  the  adb  app  to  install  the  app  •  If  you  have  only  one  device  aZached,  the   following  command  is  enough:   –  adb install HelloWorld-debug.apk•  If  you  have  several  devices  aZached,  then  you   must  specify  the  target   –  adb –s emulator-5554 install HelloWorld- debug.apk  
  12. 12. Installing  
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×