+ -

Pages

Monday, 20 January 2014

Day 1 - Installing the Android SDK/ADT Bundle

I wasn't sure which one I should download. I have started working with my minuscule knowledge of Java and want to learn all major components of android app development.

I had two options.
1. Download Eclipse and then download SDK tools for Windows.
2. Download ADT Bundle which comes with Eclipse + ADT Plugin and android SDK tools.

As it's mentioned in Android Tuorials in this page,
If you're a new Android developer, we recommend you download the ADT Bundle to quickly start developing apps. It includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development.
I decided that I'd go with the second option (because that seemed a bit easy) as I don't want things to be getting complex from the beginning. Yes, I am quite scared of programming but I guess that's why I am doing it.

I downloaded and unzipped ADT Bundle for Windows. This one doesn't need to be installed. Wow!

Can I just go ahead and start playing with it? I thought, yes. But No, something was off. Eclipse wasn't opening. It says something like Java JDK is not installed. Alright! Don't judge me so quick. My computer crashed two weeks ago and the hard disk had to be replaced and that's why there is no Java here.

Then I downloaded and installed JAVA but still something is wrong. It's not opening! It was showing the following error :
(A java Runtime environment(JRE) or Java Development Kit (JDK) must be available inorder to run Eclipse. No java virual machine was found after searching the following locations: c:\android\adt-bundle-windows-x86_64\eclipse\jre\bin\javaw.exe javaw.exe in your current PATH)
And I found a solution here. It was all about setting up environment variable JAVA_HOME. But as I was typing environment variable and the location, it struck me that I haven't installed JDK, what location I am trying to feed for this environment variable?

Turns out, I downloaded JRE but for what I want to do, I need JDK. I again went to this page and downloaded JDK. Installed it and tried opening Eclipse once again. Wow! Smooth as butter.

Eclipse is open but there are a lot of things to do now. In the next blog post, I would be writing about setting up Android Virtual Device Manager and my short rally with Android Studio.


5 Learning Android - from the scratch: Day 1 - Installing the Android SDK/ADT Bundle I wasn't sure which one I should download. I have started working with my minuscule knowledge of Java and want to learn all major compon...

1 comment:

  1. Please provide the link to download the Eclipse bunddle. I am going to download it just to get my hand on the android icons that do not come with the Android Studio

    ReplyDelete

< >