Android TutorialsInstalling The Android SDK

Installing The Android SDK

• Steps For Installing Android SDK:

  1. Open up the browser
  2. Specify the address “ android.developer.com “
  3. You will get the below screen….
  4. 1

  5. Now click on the Developers arrow shown
  6. You will get the following screen……
  7. 2

  8. In the Develop column ,you will see Tools ,in that select “Get the SDK”.
  9. You will get the following window
  10. 3

  11. Now we have to download the Software Development Toolkit ( SDK ) android developer tools to develop your android applications.
  12. Click on the download button placed at the right side.
  13. After clicking on “Download the SDK”, your download will get started.
  14. Once the download is complete , open up the download folder and copy and paste the downloaded “adt bundle” to any where you want.
  15. The adt bundle consists of “Eclipse and SDK” folders respectively.
  16. Now download “JDK” and install it.
  17. Now open up the eclipse folder you will see the following …..
  18. 4

  19. Now double click on the application file of eclipse.
  20. You will get the following window…..
  21. 5

  22. Here you can browse and set your workspace where ever you want and click OK.
  23. Eclipse will get open..
  24. 6

  25. You will get a welcome screen as shown in above figure . Click on cancel button.
  26. Now go to window and select Android virtual Device Manager as shown below…
  27. 7

  28. After selecting it the Android Virtual Device Manager window will appear…..
  29. 8

  30. Now there is no any AVD created , so we have to create a new avd.
  31. To create new avd click on “New”. Generates window….
  32. 9

  33. Give a name for AVD and then select a device from the drop down list.
  34. After selecting the device you can enable or disable the keyboard or skin.
  35. You can also set the memory size.
  36. As shown in the figure..
  37. 10

  38. Then Click OK , You will have a new “avd”.
  39. 11

  40. The next step is to create a small application to see whether everything is working properly.
  41. Now go to File ->New->Android Application Project.
  42. 12

  43. After clicking Android Application Project a “New Android Application Window ” will appear.
  44. Here we have to specify the Application Name.
  45. Also mention the Package name (Any name) example: com.bean.Application Name .
  46. Select the Minimum Required SDK from the drop down list , also select the Target SDK
  47. The window will look like….
  48. 13

  49. After clicking next a window will appear in which uncheck the create custom launcher icon and click on next.
  50. 14

  51. Create activity window will appear which consists of three activities like Blank Activity ,Fullscreen Activity, Master/Detail Flow.
  52. Select the Blank Activity and click on next button.
  53. 15

  54. Now Blank Activity Window will appear which consists of the Activity Name of the workspace , Layout Name and Navigation is to be kept none.
  55. Main Activity is the name of the Workspace.
  56. The window will look as shown in the figure below.
  57. Then click finish.
  58. 15

  59. The Layout of Hello World application will get open up which will look like below..
  60. 16

  61. Now when you run the application for first time nothing will happen.
  62. So we need a runnable code to run the application, which will be in the left side of the workspace in the “src”
    Menu-> Package name->MainActivity.java.
  63. 18

  64. Now when you run this application a Run As window will appear.
  65. This window consists of Five Options.
  66. From that select the Android Application and click OK.
  67. The window will look like below..
  68. 20

  69. A Home Screen for Android will appear.
  70. The home screen come up after few seconds.
  71. After clicking on the applications we will see various applications,which consists the application we developed.
  72. For example : Jelly
  73. 22

  74. When you click on the application you get your application run displaying “Hello World”.
  75. 23

  76. This confirms that you are done with the Installation Successfully.

Exclusive content

- Advertisement -

Latest article

21,501FansLike
4,106FollowersFollow
106,000SubscribersSubscribe

More article

- Advertisement -