Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Like Tree1Likes

test: Reply
 
LinkBack Thread Tools
Old December 2nd, 2008, 10:36 AM   #1 (permalink)
Member
Thread Author (OP)
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 339
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 39 Times in 11 Posts
Send a message via AIM to devolio
Default Installing Eclipse and the Android SDK (Windows XP)

The first thing we need to do is download all of the needed files. First up, the Android SDK. You can download it from http://code.google.com/android/download.html

Now, let's download Java. Open up http://developers.sun.com/downloads in your browser. Click the expand button [+] for Java SE and click on Java SE (JDK) 6. It will take you to a page with more choices. We're going to want JDK 6 Update 10 with Java EE. Select Windows, and the Language you want, and you can finally download the JDK.



Last but not least, we're going to need Eclipse. Head over to http://www.eclipse.org/downloads/. The version we want is Eclipse IDE for Java Developers. The JEE version will work as well.



Now, we've downloaded just about everything we're going to need.

Let's go ahead and fire up the JDK installer.



Click next, agree to the license, next again (installing to C:\Sun\SDK), and we'll be prompted to set the admin password.



Enter a password and click next. Now we'll be presented with the installation options. You can leave these default and click next. Finally, it will let you install what we've chosen.



Click install now.

Time to wait. Grab something to drink (or eat).



At the end of the install we'll be prompted to sign in (if registered.) You can sign up if you'd like, or log in if you've already signed up. You can also skip the whole process if you want.



Tah dah, that's finished. You can click Finish, skipping starting the server (we won't need it.)



Now we can get started on the fun stuff. Create a new folder on your C: Drive (or whatever you use,) and name it android. Open up the Android SDK zip, and go into the main folder. Copy all of the files from the Android SDK zip into C:\android.



We've now got to set the all important Path variable. Right click on My Computer and click Advanced, Environmental Variables (or Start -> Settings -> Control Panel -> System -> Advanced -> Environmental Variables.)



In the Environmental Variables window, in the System Variables pane, scroll down to Path. Double click on it to edit it. Scroll all the way to the right side of the value, and add ";c:\android\tools" (or the absolute path to your tools folder,) to the end of it, as shown below.



Click OK in all of the windows, and that's good to go.

Time for Eclipse. Create a new folder on your C: Drive (or whatever you use,) and name it eclipse. Just like before, open up the Eclipse zip, go into the main folder, and copy all of the files into C:\eclipse.



Almost there! Go ahead and make a shortcut to Eclipse on your Desktop (if you want.) Start up Eclipse.



It will prompt you to choose a workspace location.



This is where all of your project files will be stored. Set it where you want, and click OK.

Once Eclipse is started up, we can add the ADT plugin. In the menu, Help -> Software Updates.



Click on the Available Software tab at the top.



Click on Add Site. For the URL, we're going to use http://dl-ssl.google.com/android/eclipse.



Click OK. It may tell you that there was no repository found at https://dl-ssl.google.com/android/eclipse. That's fine, Click OK.

Expand the tree for http://dl-ssl.google.com/android/eclipse (note http, not https.) Click the checkbox next to the tree expander, and it will select all of the tools.



Click Install. Eclipse will go ahead and calculate the installation stuff it needs, and download the files.



Click finish, and it will install them.



Eclipse will prompt you to restart, click Yes. Eclipse will restart, and whalah, you're finished!



To run a quick test and make sure everything is working properly, go to File -> New -> Project. Expand Android, click on Android Project, and click Next.



Now we'll have to fill in our project information. Because this is a test run, we'll call the project testrun. For the package name, we'll use com.android.test. And last but not least, the activity name will be test.



Click Finish.

Eclipse will crunch on that for a second, and open the project in the left pane. Expand the main tree to see the file structure of a default new project. The last thing we need to do before we run our test application is set up a run configuration. In the menu, go to Run -> Run Configurations...



Double click on Android Application and it will create a new configuration. Give the configuration a name, and click browse for the project.



Choose your project, click OK. Now click Apply, then Run.

You'll notice the bottom pane switches over to Console. This will let you know what's going on with the emulator. After a few seconds, the emulator will start up.



Note that the first run will take *much* longer than usual to start up, as it's setting up the Android OS while it starts up for the first time. Depending on the specs of your computer, it can take anywhere from a few minutes to over half an hour.

After awhile, you'll arrive at the starting screen.



Click on Menu to unlock the screen. Usually, you'll get a few errors as things start up and can't be started.



I usually just click wait. In the console, you'll see it install, and then start up your application.





And with that, it's time for you to dive into the code and start making your application.

Advertisements
__________________
Guides
FAQ | Rooting | Installing SDK/Eclipse

My Stuff
Twitter | Apper | Yz | Yz Donation
devolio is offline  
Last edited by devolio; December 7th, 2008 at 04:45 AM. Reason: Bolded important stuff
Reply With Quote
The Following 18 Users Say Thank You to devolio For This Useful Post:
bootcheese3000 (September 19th, 2014), Christophe2010 (May 18th, 2010), dilirum (October 8th, 2010), doad13 (June 7th, 2010), Dragosi (April 9th, 2010), Dvoireh (December 15th, 2010), ExSaint (November 4th, 2010), Gryphin81 (April 28th, 2010), Howie (May 16th, 2010), iAuthorize (June 7th, 2010), jisoo411 (May 22nd, 2010), mohamed sami (June 24th, 2011), pbkrug (May 16th, 2010), PC Master (August 9th, 2010), r0ckstarr (March 7th, 2011), R3vel (June 8th, 2010), RandyB1968 (December 3rd, 2010), xxyx (July 23rd, 2010)
sponsored links
Old January 17th, 2009, 08:13 AM   #2 (permalink)
New Member
 
Join Date: Jan 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default error in installing android

Hi,
thats a nice presentation by you for installing android on windows xp. It is very helpful to me. after setting the path, when i tried to start eclipse a error window flashed on the screen saying that " a java Runtime environment or jdk must be available inorder to run eclipse. No java virtal machine was found after searching the following locations c:\eclipse\jre\bin\javaw.exe javaw.exe in your currebt path". I tried changing paths, but i did not succeed. I have been using windows xp 2002 version sevice pack 2. Please tell me solution. Thanks in advance.
routhusanny is offline  
Reply With Quote
Old February 28th, 2009, 04:48 AM   #3 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello!

Thank you very much for these explanations!

Denis
Denis.Beurive is offline  
Reply With Quote
Old March 4th, 2009, 04:38 PM   #4 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default software update

hi ,
when i add site http://dl-ssl.google.com/android/eclipse it said no repository and i clicked ok but when i tried to expand the tree of the site it said again there is no repository and it didn't expanded so please tell me what i have to do.

thanks
kwty is offline  
Reply With Quote
Old March 4th, 2009, 07:05 PM   #5 (permalink)
Member
Thread Author (OP)
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 339
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 39 Times in 11 Posts
Send a message via AIM to devolio
Default

Try changing the http to https and see if you have any better luck. It may just have been down for awhile.
devolio is offline  
Reply With Quote
Old March 5th, 2009, 07:50 PM   #6 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

were do i get Eclipse from? thank you edit: evermind i found it lol
vinnie215 is offline  
Last edited by vinnie215; March 5th, 2009 at 08:10 PM.
Reply With Quote
Old March 5th, 2009, 08:02 PM   #7 (permalink)
No One...
 
noonehereyet's Avatar
 
Join Date: Nov 2008
Location: California
Posts: 3,129
 
Device(s): G1, Cliq, Vibrant, MyTouch 4G, G2x, Amaze, Galaxy Nexus
Carrier: Not Provided

Thanks: 3
Thanked 78 Times in 58 Posts
Send a message via AIM to noonehereyet
Default

Quote:
Originally Posted by vinnie215 View Post
were do i get Eclipse from? thank you

http://www.eclipse.org/downloads/
noonehereyet is offline  
Reply With Quote
Old March 15th, 2009, 08:42 AM   #8 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why do I keep getting

[2009-03-15 15:39:32 - testrun] getFileType got errno=22 on '(null)'
[2009-03-15 15:39:32 - testrun] ERROR: output file '(null)' exists but is not regular file
[2009-03-15 15:39:33 - testrun] getFileType got errno=22 on '(null)'
[2009-03-15 15:39:33 - testrun] ERROR: output file '(null)' exists but is not regular file

after I've created a new project? I'm using Eclipse 3.4.2.
jusutus is offline  
Reply With Quote
Old April 29th, 2009, 08:56 PM   #9 (permalink)
Member
 
Join Date: Nov 2008
Posts: 152
 
Device(s):
Carrier: Not Provided

Thanks: 10
Thanked 1 Time in 1 Post
Default

Thanks for the tutorial. Haven't tried it yet, but it looks very thorough. I'm still in the Developer 100 stage of learning how to develop for Android (I was a java developer by trade for 5 years, a lifetime ago). I'm very sorry if these questions have already been answered elsewhere, I just didn't find them, but if you could post the URL, many much thanks. Way more basic questions than you address:

-do I need a separate piece of hardware than the basic T-Mobile G1 phone I already have (i.e. a "developer phone")?

-so if I get the Android SDK (I already use Eclipse), is it possible to get my in-progress application onto my phone for testing without putting it out in the Market? Or is the emulator designed to eliminate that need?

-what is the path to getting an application in the Market?

Thanks for any useful answers!
FortKnox is offline  
Reply With Quote
Old April 30th, 2009, 03:59 AM   #10 (permalink)
Senior Member
 
Join Date: Feb 2009
Location: London, UK
Posts: 642
 
Device(s): T-Mobile G1 (UK), HTC Desire Z
Carrier: Not Provided

Thanks: 0
Thanked 10 Times in 9 Posts
rozza.c@gmail.com
Default

Quote:
Originally Posted by FortKnox View Post
Thanks for the tutorial. Haven't tried it yet, but it looks very thorough. I'm still in the Developer 100 stage of learning how to develop for Android (I was a java developer by trade for 5 years, a lifetime ago). I'm very sorry if these questions have already been answered elsewhere, I just didn't find them, but if you could post the URL, many much thanks. Way more basic questions than you address:

-do I need a separate piece of hardware than the basic T-Mobile G1 phone I already have (i.e. a "developer phone")?

-so if I get the Android SDK (I already use Eclipse), is it possible to get my in-progress application onto my phone for testing without putting it out in the Market? Or is the emulator designed to eliminate that need?

-what is the path to getting an application in the Market?

Thanks for any useful answers!
To answer your questions...

- I'm learning to develop for android and I'm getting along fine with just the normal G1 and the SDK emulator..

- I think the emulator is meant to eliminate that need...although I doubt it's better than actually having a real phone to test it on...

- That...is something I don't know the answer to...I'm nowhere near creating a fully working app so I haven't bothered to look it up...but I'm assuming it would be through the Android Market website...(or maybe the Developers site)
RozzaC is offline  
Reply With Quote
sponsored links
Old April 30th, 2009, 04:30 AM   #11 (permalink)
Member
Thread Author (OP)
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 339
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 39 Times in 11 Posts
Send a message via AIM to devolio
Default

To answer your 2nd and 3rd questions...

Once you've got all the SDK stuff set up, you can pretty much plug in your phone, run your project, and Eclipse does the rest. If the phone is plugged in, it loads it up on your G1/ADP1, if not, it loads up in the emulator.

As for the market, you'll have to sign up for a developer account ($25), you'll have to confirm your bank/google checkout connected account (using a small deposit, a-la-paypal/other payment services, assuming you want to sell your apps) and then you'll be able to post your applications to the market. Instead of explaining in boring text how it all works, I took a few screenshots for you.

The main market menu. Lists all your submitted applications, the number of ratings, 'total' rating, total downloads and estimated installations with %, Price, and whether or not it's published. At the bottom right, you'll see the Upload application button...


Upon clicking that, you'll be able to choose the application to upload (signed with non-debug keys, of course,) which language it's localized for, it's title and description, type and category, price...


Whether or not to use copy protection (supposedly stops non-root users from being able to copy your application,) Which countries you want to release your app or game in, your contact information, and the agreements you've to agree to.


That's about it. Develop your app, sign it for release, upload, and you're done. If you've got anymore questions, feel free to ask
devolio is offline  
Last edited by devolio; April 30th, 2009 at 04:33 AM. Reason: Clarified a few things
Reply With Quote
The Following 2 Users Say Thank You to devolio For This Useful Post:
Gryphin81 (April 28th, 2010), whbjr (June 6th, 2010)
Old June 6th, 2009, 03:56 PM   #12 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 16
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

omg - I am a very able Java developer - I had no idea the magic was SDK compatible with Java i.e you write Java code for the apps - that is outstanding - now I just need an idea for an app to develop!
renegadeandy is offline  
Reply With Quote
Old August 29th, 2009, 04:35 AM   #13 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Smile Big Thanks

Thanks a lot for the guide mate. Just got everything up and running and going to start coding.

By the way, do you know of any good start up sites or guides?

Thanks a lot
blackout is offline  
Reply With Quote
Old September 12th, 2009, 08:06 PM   #14 (permalink)
Member
 
Jacqueline's Avatar
 
Join Date: Sep 2009
Location: Florida
Posts: 393
 
Device(s): Droid
Carrier: Not Provided

Thanks: 0
Thanked 6 Times in 3 Posts
Thumbs up

Thank you so much! I was having a bit of trouble figuring out what to download and how to hook it all together on my 64 bit Vista, but your guide worked a treat!

Things changed slightly with the new version 7, yet I was able to figure out everything on the installation from your notes.

I ran into a few problems with the project and found these fixes for them.

Error starting project: "An SDK Target must be specified"

I found this error is due to me not setting the SDK location preference in Window / Preferences / Android. Once set, I had three available: Android 1.1, Android 1.5, and Google APIs.

Error running project:
- no classfiles specified
- Conversion to Dalvik format failed with error 1

This is a weird one. I found I had to highlight the project and hit F5 to clear this error. The project has a red x on it until you do F5 once for some reason.


Error 2 running project:
Android AVD Error. No compatible targets were found. Do you wish to a add (sic) new Android Virtual Device?

This gave me an option to create an Android Virtual Device, so I filled in the settings (below), clicked Create AVD, selected the one I just created, then clicked Finish.
Name: Android-1.5-Emulator
Target: Android 1.5 - 1.5
Skin: Default (HVGA)

Wow! Now I actually have an emulator up and running!!! I see Hello World! I never could have done it without your help. I really appreciate the time you took to put all this together. I hope the notes I added there will help anyone who runs across the troubles I did.
Jacqueline is offline  
Reply With Quote
The Following 4 Users Say Thank You to Jacqueline For This Useful Post:
omni (November 2nd, 2010), RC21 (April 6th, 2010), sudeep22s (July 11th, 2010), thunguyetng (August 19th, 2010)
Old September 13th, 2009, 02:31 PM   #15 (permalink)
G8D
Senior Member
 
Join Date: Sep 2009
Posts: 533
 
Device(s): HTC Hero
Carrier: Not Provided

Thanks: 2
Thanked 4 Times in 3 Posts
Default

Using SDK r3 I am getting:
[2009-09-13 20:21:30 - test] no classfiles specified
[2009-09-13 20:21:30 - test] Conversion to Dalvik format failed with error 1

Halp meh.
Also.. anyone know a good place to learn Java?

EDIT: Ok got it booting. Now, good Java tutorial resource?
G8D is offline  
Last edited by G8D; September 13th, 2009 at 02:47 PM.
Reply With Quote
Old November 11th, 2009, 12:28 AM   #16 (permalink)
Member
 
Join Date: Oct 2009
Location: Florida, USA
Posts: 153
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 1 Post
Default

I only see update 17, not update 10, which takes me to update 8 not 6, of the SDK

I assume the later update is okay ?
Or should I be concerned about Firefox compatability?
galt is offline  
Last edited by galt; November 11th, 2009 at 12:34 AM.
Reply With Quote
Old November 12th, 2009, 12:45 PM   #17 (permalink)
New Member
 
Join Date: Nov 2009
Location: Bay Area - east bay.
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by galt View Post
I only see update 17, not update 10, which takes me to update 8 not 6, of the SDK

I assume the later update is okay ?
Or should I be concerned about Firefox compatability?
I'm getting the same crap. Yo! anyone gonna answer Galt?
Droid69 is offline  
Reply With Quote
Old November 12th, 2009, 12:55 PM   #18 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 33
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just take the newest.
metter is offline  
Reply With Quote
Old November 23rd, 2009, 06:52 PM   #19 (permalink)
Junior Member
 
Join Date: Nov 2009
Location: MD/MI/NC
Posts: 36
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to RossLH
Default

I'm having a whole lot of trouble installing the ADT. No matter which method I try, it cant connect to the server.

EDIT: Getting a 404 error in my browser. It must be down.

EDIT: 3 days later, still down?? This is incredibly frustrating. Is anybody else having this problem?
RossLH is offline  
Last edited by RossLH; November 26th, 2009 at 03:56 PM.
Reply With Quote
Old November 29th, 2009, 03:26 PM   #20 (permalink)
Junior Member
 
Join Date: Nov 2009
Location: MD/MI/NC
Posts: 36
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to RossLH
Default

Double posting so maybe someone will shine some light on this problem.....

Still getting nothing from http://dl-ssl.google.com/android/eclipse or https://dl-ssl.google.com/android/eclipse. When I try to add the repository in Eclipse, it wont connect. If I try entering either address in my web browser, I get a 404. Do I have the address right? Is there somewhere else I can find the tools?

I've been trying for a week now. I'd like to think I'm quite capable with Java/C++, and I really want to get started with developing, but Google is not making this easy for me.
RossLH is offline  
Reply With Quote
sponsored links
Old November 30th, 2009, 04:36 PM   #21 (permalink)
Junior Member
 
Join Date: Nov 2009
Location: MD/MI/NC
Posts: 36
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to RossLH
Default

Alright, played around with this some more, and finally got it to work. If anyone else is having the same problem, here's what I did (and it really was as simple as unchecking ONE box):

Download the ADT Plugin .zip file. In the 'Add Site' dialogue, click archive, select the .zip file, and hit OK. Uncheck the box that reads "Contact all update sites during install to find required software". If you dont, it'll just try to connect to the same site that you couldn't connect to before, and much like I did for a week, you'll be running in circles. When it comes to adding SDK components, I also found I had to enable 'force download from http' in the settings.

Regardless, it looks like everything should be up and running after I finish adding the SDK components. Thanks for the writeup! Despite a small road block, the writeup was very helpful.
RossLH is offline  
Reply With Quote
Old December 8th, 2009, 03:55 PM   #22 (permalink)
Member
 
Join Date: Nov 2009
Posts: 404
 
Device(s): Droid
Carrier: Not Provided

Thanks: 23
Thanked 35 Times in 11 Posts
Send a message via AIM to tsaunders Send a message via Yahoo to tsaunders Send a message via Skype™ to tsaunders
Default

Quote:
Originally Posted by RossLH View Post
Alright, played around with this some more, and finally got it to work. If anyone else is having the same problem, here's what I did (and it really was as simple as unchecking ONE box):

Download the ADT Plugin .zip file. In the 'Add Site' dialogue, click archive, select the .zip file, and hit OK. Uncheck the box that reads "Contact all update sites during install to find required software". If you dont, it'll just try to connect to the same site that you couldn't connect to before, and much like I did for a week, you'll be running in circles. When it comes to adding SDK components, I also found I had to enable 'force download from http' in the settings.

Regardless, it looks like everything should be up and running after I finish adding the SDK components. Thanks for the writeup! Despite a small road block, the writeup was very helpful.
Thank you! I was looking for this.
tsaunders is offline  
Reply With Quote
Old December 9th, 2009, 03:18 PM   #23 (permalink)
Senior Member
 
Join Date: Nov 2009
Posts: 599
 
Device(s): Galaxy S4 (ForceROM), Nook Color (CM7)
Carrier: Not Provided

Thanks: 39
Thanked 24 Times in 21 Posts
Default

It looks like the newest stuff in Eclipse for Android is very different than the steps outlined above. It's complaining about things that I don't have set up yet when I try to create an Android project. Anyone have an updated set of set-up steps?
flu13 is offline  
Reply With Quote
Old December 18th, 2009, 12:18 AM   #24 (permalink)
New Member
 
Join Date: Dec 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to create new project

Hi,

I am not able to create new project as next button is disabled in "New Android Project" dialog in eclipse though mandatory values specified.

I think I have not selected the target build as the list is empty. How this list is populated?

Please suggest.
amit.savani is offline  
Reply With Quote
Old December 29th, 2009, 01:42 PM   #25 (permalink)
New Member
 
Join Date: Dec 2009
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Server redirected too many times (20)

Can anyone tell me how to get 'past' this????

It's highly annoying ...

I can hit that link directly but the Android SDK/ADVD Manager cannot???

Please help - anyone
Forest Marie is offline  
Reply With Quote
Old January 2nd, 2010, 09:08 AM   #26 (permalink)
Senior Member
 
Join Date: Nov 2009
Posts: 599
 
Device(s): Galaxy S4 (ForceROM), Nook Color (CM7)
Carrier: Not Provided

Thanks: 39
Thanked 24 Times in 21 Posts
Default

Isn't there anyone who knows what they're doing who monitors this forum? Three questions over three weeks and change, and no responses.
flu13 is offline  
Reply With Quote
Old January 2nd, 2010, 01:42 PM   #27 (permalink)
Premium Member
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 10,560
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0, Samsung Vibrant, Samsung III, LG SLATE Tablet
Carrier: T-Mobile

Thanks: 5
Thanked 220 Times in 104 Posts
Default

Quote:
Originally Posted by fluharty13 View Post
Isn't there anyone who knows what they're doing who monitors this forum? Three questions over three weeks and change, and no responses.
One or two things might be the reason:

Maybe no one visiting your thread knows the answer;

Maybe no one is visiting your thread;

There may be a limited number of devs that use the forum;

I would suggest also trying IRC #android-dev


__________________
Help Us: Submit FAQ's You have answered over and over! Will add them to OUR FAQ LIB. Check out our FAQ's.... Also Check out our Tag Search. \\\ Running 2 G1's & a MT3G, Vibrant(rooted), Galaxy S: <<< OLD New >>> JUST Samsung S3-32GB & LG GSlate Tablet /// Link for --> G1 Dream ROOT GUIDE ///// Link for --> UN-ROOT GUIDE
.
justjimjpc is offline  
Reply With Quote
Old January 3rd, 2010, 12:13 AM   #28 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Forest Marie View Post
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Server redirected too many times (20)

Can anyone tell me how to get 'past' this????

It's highly annoying ...

I can hit that link directly but the Android SDK/ADVD Manager cannot???

Please help - anyone
after you get the error click close and then goto 'Settings' and check Force https://...

then save and apply
aknaub is offline  
Reply With Quote
Old January 14th, 2010, 01:57 AM   #29 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kwty View Post
hi ,
when i add site http://dl-ssl.google.com/android/eclipse it said no repository and i clicked ok but when i tried to expand the tree of the site it said again there is no repository and it didn't expanded so please tell me what i have to do.

thanks
Correct should be:

http://dl-ssl.google.com/android/eclipse/site.xml
tempfor is offline  
Reply With Quote
Old January 20th, 2010, 02:58 AM   #30 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, Hi! I've decided to start developing for Android. Even though I don't have an Android phone and all...

It's all for fun and profit. A nice little 49p, 99p app.
TheLupineOne is offline  
Last edited by TheLupineOne; January 20th, 2010 at 03:36 AM.
Reply With Quote
sponsored links
Old January 20th, 2010, 04:02 AM   #31 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

What should I set as the SDK Location in Window > Preferences > Android?
TheLupineOne is offline  
Last edited by TheLupineOne; January 20th, 2010 at 02:45 PM. Reason: Problem!
Reply With Quote
Old January 20th, 2010, 08:43 PM   #32 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by TheLupineOne View Post
What should I set as the SDK Location in Window > Preferences > Android?
I have the same question--I downloaded the SDK through Eclipse and have no idea where it went...
champ1979 is offline  
Reply With Quote
Old January 21st, 2010, 03:49 AM   #33 (permalink)
Premium Member
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 10,560
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0, Samsung Vibrant, Samsung III, LG SLATE Tablet
Carrier: T-Mobile

Thanks: 5
Thanked 220 Times in 104 Posts
Default

Quote:
Originally Posted by champ1979 View Post
I have the same question--I downloaded the SDK through Eclipse and have no idea where it went...
Check the downloads folder...


justjimjpc is offline  
Reply With Quote
Old January 21st, 2010, 06:46 AM   #34 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, I've copied the Android SDK into the C:\ drive (C:\android). It's all there, so what the pfargtl?

Look at this from the readme.

Quote:
In order to start developing applications, you must install at least one
version of the Android platform using the SDK Manager.
SDK Manager! I'll have to try use that. That could be the problem!
TheLupineOne is offline  
Last edited by TheLupineOne; January 21st, 2010 at 06:52 AM.
Reply With Quote
Old January 21st, 2010, 11:49 AM   #35 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by routhusanny View Post
Hi,
thats a nice presentation by you for installing android on windows xp. It is very helpful to me. after setting the path, when i tried to start eclipse a error window flashed on the screen saying that " a java Runtime environment or jdk must be available inorder to run eclipse. No java virtal machine was found after searching the following locations c:\eclipse\jre\bin\javaw.exe javaw.exe in your currebt path". I tried changing paths, but i did not succeed. I have been using windows xp 2002 version sevice pack 2. Please tell me solution. Thanks in advance.
I'm having the same problem with windows 7 64bit
argenis is offline  
Reply With Quote
Old January 22nd, 2010, 04:30 PM   #36 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now at the bit just before the emulator.

I have one error.

The project cannot be built until build path errors are resolved

Location: Unknown.

WHY?
TheLupineOne is offline  
Reply With Quote
Old January 25th, 2010, 10:15 PM   #37 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm not exactly using XP but I don't think it'll quite matter.

Anyway I'm having trouble downloading the Android SDK Platform. I've followed the tutorial on the android developer site and they say you use the AVD Manager to get it. However this is all I get:



Just a bunch of Add-on stuff, no Platform. What's going on? Am I using the wrong URL?

Edit: Nevermind.... I figured it out. Had to force the HTTPS thing in the Settings. Thought I already did it and didn't work, but tried again and seemed to work that time.
saruman_w is offline  
Last edited by saruman_w; January 25th, 2010 at 10:19 PM.
Reply With Quote
Old January 26th, 2010, 03:51 PM   #38 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 13
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

i downloaded the u18 version of java ee sdk since i couldnt find u10 anywhere. it had a little different menus but was about the same. it is saying i have no targets when i go to create a project testrun. in preferences->android, i set the path to the android sdk and it found the tools folder but it doesnt show any sdk targets. any idea?
hourang is offline  
Reply With Quote
Old January 27th, 2010, 09:27 AM   #39 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 13
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by hourang View Post
i downloaded the u18 version of java ee sdk since i couldnt find u10 anywhere. it had a little different menus but was about the same. it is saying i have no targets when i go to create a project testrun. in preferences->android, i set the path to the android sdk and it found the tools folder but it doesnt show any sdk targets. any idea?
nevermind, ran the sdk and avd manager and all the updates and now they all show up.
hourang is offline  
Reply With Quote
Old February 4th, 2010, 07:14 AM   #40 (permalink)
New Member
 
Join Date: Feb 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Is it possible to download Android SDK components without the Android SDK manager?

Is it possible to download Android SDK components without the Android SDK manager?

During the installation of my Android SDK, I am getting stuck during the process where the manager goes out and downloads all the revisions of the APIs and the SDKs.



It is potentially due to a socket issue that typically occurs when a database query is called and there are a large number of TCP connections... according to googling my error (No buffer space available (maximum connections reached?): recv failed )...

Here is the errors that come up..



So I just need to know if there is a way, other then using the Android download manager, to download / update my computer with the Android SDK components....



Thank you.
bryngelson is offline  
Reply With Quote
sponsored links
Old February 10th, 2010, 11:53 PM   #41 (permalink)
New Member
 
Join Date: Feb 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, so I have a problem others may have mentioned before:

When trying to install the Android ADT plugin to Eclipse, I get the following:

Quote:
An error occurred while collecting items to be installed
No repository found containing: org.eclipse.draw2d/osgi.bundle/3.4.1.v20080910-1351
No repository found containing: org.eclipse.emf.common/osgi.bundle/2.4.0.v200808251517
No repository found containing: org.eclipse.emf.ecore/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.emf.ecore.change/osgi.bundle/2.4.0.v200808251517
No repository found containing: org.eclipse.emf.ecore.edit/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.emf.ecore.xmi/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.emf.edit/osgi.bundle/2.4.1.v200808251517
No repository found containing: org.eclipse.wst.common.emf/osgi.bundle/1.1.202.v200809111955
No repository found containing: org.eclipse.wst.common.emfworkbench.integration/osgi.bundle/1.1.201.v200808071700
No repository found containing: org.eclipse.wst.common.frameworks/osgi.bundle/1.1.200.v200805140020
No repository found containing: org.eclipse.wst.common.project.facet.core/osgi.bundle/1.3.3.v200809102124
No repository found containing: org.eclipse.wst.common.ui/osgi.bundle/1.1.301.v200805140415
No repository found containing: org.eclipse.wst.sse.core/osgi.bundle/1.1.302.v200808260045
No repository found containing: org.eclipse.wst.sse.ui/osgi.bundle/1.1.2.v200809120159
No repository found containing: org.eclipse.wst.validation/osgi.bundle/1.2.2.v200809050219
No repository found containing: org.eclipse.wst.xml.core/osgi.bundle/1.1.305.v200809120354
No repository found containing: org.eclipse.wst.xml.ui/osgi.bundle/1.0.410.v200809120143
I've tried with http and https

I'm using the Stanford edition of Eclipse 3.4.2 (Stanford in that it's the version they had us use for classes and whatnot). Do you think I need to get another edition of Eclipse, or is there another problem? Like, am I missing any other plugins that I can just install? If I get another version of Eclipse, do I lose anything from previous work?
JoshuaR is offline  
Reply With Quote
Old February 16th, 2010, 12:12 PM   #42 (permalink)
Member
 
Join Date: Oct 2009
Posts: 395
 
Device(s):
Carrier: Not Provided

Thanks: 24
Thanked 19 Times in 13 Posts
Default

Quote:
Originally Posted by TheLupineOne View Post
Now at the bit just before the emulator.

I have one error.

The project cannot be built until build path errors are resolved

Location: Unknown.

WHY?
Does anyone know an answer to this one? I'm experiencing the same issue.
rawness is offline  
Reply With Quote
Old February 16th, 2010, 12:21 PM   #43 (permalink)
Member
 
jmims's Avatar
 
Join Date: Dec 2009
Location: Columbus, GA
Posts: 259
 
Device(s): Verizon Galaxy Nexus
Carrier: Not Provided

Thanks: 3
Thanked 19 Times in 12 Posts
Default Re: Installing Eclipse and the Android SDK (Windows XP)

I think I had a repo error when doing this myself, though I don't recall the exact wording. I'm pretty sure I solved it by keeping the google address to download from in the url field; as adding the repo to the list did not work. I don't have my laptop right in front of me, so I can't tell you where for sure, just yet, to get it to fownload.
jmims is offline  
Reply With Quote
Old February 16th, 2010, 12:21 PM   #44 (permalink)
Member
 
jmims's Avatar
 
Join Date: Dec 2009
Location: Columbus, GA
Posts: 259
 
Device(s): Verizon Galaxy Nexus
Carrier: Not Provided

Thanks: 3
Thanked 19 Times in 12 Posts
Default Re: Installing Eclipse and the Android SDK (Windows XP)

fownload=download...
jmims is offline  
Reply With Quote
Old February 18th, 2010, 07:31 AM   #45 (permalink)
Member
 
Join Date: Oct 2009
Posts: 395
 
Device(s):
Carrier: Not Provided

Thanks: 24
Thanked 19 Times in 13 Posts
Default

For whatever reasons, restarting eclipse got rid of the build path errors for me.
rawness is offline  
Reply With Quote
Old April 2nd, 2010, 07:28 PM   #46 (permalink)
nkk
Senior Member
 
nkk's Avatar
 
Join Date: Mar 2010
Posts: 758
 
Device(s): Samsun Galaxy Nexus (Verizon)
Carrier: Not Provided

Thanks: 73
Thanked 682 Times in 272 Posts
Default

Which Java JDK do I get? I do not see JDK 6 update 10. There is only update 19. I know how to program, but am still new to this, and want to make sure the update does not alter the functionality I need.

Thanks,
Nkk
nkk is offline  
Reply With Quote
Old April 5th, 2010, 11:16 PM   #47 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 15
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Okay, what am I missing? I had to build the target (Thanks to the information that Jacqueline provided earlier in this feed) and now I've got the emulator up and running but I don't see the test application running. The emulator is showing the normal screen and not the "hello world" application. Here is the information from the console in eclipse:

[2010-04-06 22:37:44 - testrun] Automatic Target Mode: Preferred AVD 'Android-2.1-Emulator' is available on emulator 'emulator-5554'
[2010-04-06 22:37:47 - testrun] Application already deployed. No need to reinstall.
[2010-04-06 22:37:47 - testrun] \testrun\bin\testrun.apk installed on device
[2010-04-06 22:37:47 - testrun] Done!

Any help on why it's not running? I don't see any errors here...
RC21 is offline  
Last edited by RC21; April 6th, 2010 at 10:44 PM.
Reply With Quote
Old April 9th, 2010, 12:15 AM   #48 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

hey guys. so... i'm getting this error when i try the testrun. its saying that

"An SDK Target must be specified"

and ive gone into the sdk and avd downloader thing, and i can't get the updates to show... any ideas?

EDIT: NeverMind i got it.
Dragosi is offline  
Last edited by Dragosi; April 9th, 2010 at 01:02 AM.
Reply With Quote
Old May 3rd, 2010, 12:23 PM   #49 (permalink)
New Member
 
Join Date: May 2010
Posts: 10
 
Device(s): Samsung Behold II Samsung Galaxy S: Vibrant
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

I was having some trouble downloading this stuff and getting eclipse to work. If anyone else is new here and trying to follow this setup there's a couple things to get you all the files you'll need.

From SUN you first need to install the latest JDK. Then you can search through their older downloads and download the EE SDK.

In eclipse the menus have changed since this tutorial was written. You'll need to go to window->preferences. Then navigate to Install/update - available software sites. Then you can add http://dl-ssl.google.com/android/eclipse/site.xml to the list. Now if you need to download the android developer's tools you go back to the main eclipse screen and navigate to help->Install New Software. In the space where it says to Work with paste in that same URL: http://dl-ssl.google.com/android/eclipse/site.xml . Then select all the developer tools available. Restart, and you now have the Android dev tools available.
pandorazboxx is offline  
Reply With Quote
Old May 6th, 2010, 01:29 PM   #50 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Dragosi View Post
hey guys. so... i'm getting this error when i try the testrun. its saying that

"An SDK Target must be specified"

and ive gone into the sdk and avd downloader thing, and i can't get the updates to show... any ideas?

EDIT: NeverMind i got it.

Any clues for those of us getting the same error?
ShaqArif is offline  
Reply With Quote
Reply
Tags
eclipse, install eclipse, install sdk, sdk


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:52 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.