DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 7 of 7

Thread: Step by step guide to installing Java, Android SDK, and setting up Eclipse.

  1. Senior Droid
    SixStringTheory's Avatar
    Member #
    81359
    Join Date
    Jun 2010
    Posts
    129
    Phone
    DROID
    #1

    Step by step guide to installing Java, Android SDK, and setting up Eclipse.

    I see enough people with questions on setting up the sdk or eclipse or java or whatever so figured I'd make this its own post. Please note everything can be found here Android SDK | Android Developers and this is almost a copy/paste, but people keep asking so figured I'd answer :-)

    This is everything you need to set up an environment to program Android apps. If any steps don't work or you still have problems feel free to ask questions.

    JDK 6
    Java JDK6

    Google SDK (put it anywhere, i use C:\android-sdk\
    http://dl.google.com/android/android...06-windows.zip

    Eclipse (galileo distro, can use anyone you like really, just start here it's the most popular)
    Eclipse IDE for Java EE Developers | Eclipse Packages

    ADT Plugin for Eclipse:
    While in Eclipse go to "Help -> Install New Software". Click "Add" and copy in https://dl-ssl.google.com/android/eclipse/ You should see Developer Tools pop in the the box. Check that and and click Next and go through the general install motions.

    At this point you need to set up Eclipse to point to the Android SDK.
    While in Eclipse go to "Window -> Preferences" and click on Android. Put in the location of where you unzipped the android SDK.

    The last step should be setting up an emulator
    While in Eclipse go to "Window -> Android SDK and AVD Manager". There's probably a device set up already, but you can click Add and add as many different devices as you want.

    At this point you should have everything set up to start writing code and learning all the fun stuff like broadcast receivers and what the hell an adapter is.

    If you don't know where to go from here check out the guides Google has.
    Android FAQs | Android Developers

    And buy some books on Java and Android: Wrox, Apress, and Commonsware put out excellent books. Commonsware has a yearly subscription ($40) where you get constant updates (and the entire book) in pdf form, with tons of sample code. Great resource.
  2. Junior Droid
    MotoMike's Avatar
    Member #
    78370
    Join Date
    Jun 2010
    Location
    Ohio
    Posts
    27
    Phone
    Moto Droid
    #2
    You can also head over to the MotoDev site and download a whole kit. I did this yesterday and it looks as if the package might contain eclipse along with a whole lot of other additional goodies. I believe the only thing required was a quick sign up with email and a password.
  3. Senior Droid
    SixStringTheory's Avatar
    Member #
    81359
    Join Date
    Jun 2010
    Posts
    129
    Phone
    DROID
    #3
    Quote Originally Posted by MotoMike View Post
    You can also head over to the MotoDev site and download a whole kit. I did this yesterday and it looks as if the package might contain eclipse along with a whole lot of other additional goodies. I believe the only thing required was a quick sign up with email and a password.

    Yea the motodev suite is basically an eclipse package. I haven't installed it since I'm comfortable with Eclipse, but I haven't heard anything bad about it.

    Eclipse is increasingly the standard for development so it's not a bad idea to get used to it. But nothing wrong with Moto's option.
  4. Droid
    CoolBreeze's Avatar
    Member #
    7740
    Join Date
    Nov 2009
    Posts
    97
    Phone
    Motorola Droid
    #4
    The MotoDev package sets everything up for you, so you don't have to install everything separately. The one thing I didn't like is that you have to select your target version of the SDK, which can only be one SDK version. You can't install for instance the SDK for 2.1 and 2.2 and then create a new project for 2.1 and then another for 2.2. You can only select one SDK version to target.
  5. Senior Droid
    SixStringTheory's Avatar
    Member #
    81359
    Join Date
    Jun 2010
    Posts
    129
    Phone
    DROID
    #5
    Quote Originally Posted by CoolBreeze View Post
    The MotoDev package sets everything up for you, so you don't have to install everything separately. The one thing I didn't like is that you have to select your target version of the SDK, which can only be one SDK version. You can't install for instance the SDK for 2.1 and 2.2 and then create a new project for 2.1 and then another for 2.2. You can only select one SDK version to target.
    I guess ease of setup brings other drawbacks? :-) Eclipse is as versatile as it gets but does take a bit more to set up.
  6. Senior Droid
    droid15's Avatar
    Member #
    72735
    Join Date
    May 2010
    Posts
    167
    Phone
    droid
    #6
    In the morning I'll add a peice about how to get set up for android dev on mac osx because I remember how hard it was for me originally. Lol I also remeber searching for a mac version of jdk and didn't know java came preinstalled.
  7. Master Droid
    SwiftLegend's Avatar
    Member #
    59573
    Join Date
    Apr 2010
    Location
    NYC
    Posts
    703
    Liked
    37 times
    Phone
    VZW Note 2
    #7
    Not to steal glory, but you can also check out thenewboston's channel on youtube. He has like 10 videos explaining the installation of Java and teaches you it.


    Quote Originally Posted by droid15 View Post
    Lol I also remeber searching for a mac version of jdk and didn't know java came preinstalled.
    It's preinstalled on out-of-the-box pc's too, if I remember correctly. Been A LONG time since I got a new computer.
    Last edited by SwiftLegend; 08-10-2010 at 09:43 PM.

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Replies: 303
    Last Post: 01-14-2011, 12:42 PM
  2. Replies: 1
    Last Post: 08-24-2010, 05:46 PM
  3. Android SDK? Step by step for noobs?
    By dirtleg in forum Android Hacks and Help
    Replies: 12
    Last Post: 02-05-2010, 12:25 AM

Search tags for this page

download java for android

,
how to get java on android
,
how to install java for android sdk
,
how to install java on android 2.1
,

how to install java on android 2.2

,
install java for android
,
install java for android sdk
,
java android sdk
,
java for android sdk
,
java sdk for android
Click on a term to search our site for related topics.
Find us on Google+