• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Cannot Apply SDK location in preferences in Eclipse

knetter3

Lurker
Jan 9, 2010
3
0
Hello,

Im trying to install the SDK, so I downloaded and installed eclipse and the SDK, and I installed the ADT plugin.

But now I cannot load my location of the sdk in the preferences window in Eclipse.

Im using windows Vista and Eclipse Ganymede

I hope you can help me
 

Attachments

  • Android preferences.jpg
    Android preferences.jpg
    99.7 KB · Views: 826
Hi knetter3 ,

You need to point it at the right folder in the SDK.

The path you specify should have these other folders under it:
  • add-ons
  • docs
  • platforms
  • tools

(Based on the 1.5 SDK I'm using)

A bit of trial & error will usually find the right folder quite quickly.
Keep choosing a different one until the preferences dialog shows some targets.

Mark
 
Upvote 0
Hi,

I'm a bit out of date and am still using the 1.5 SDK.

I just downloaded the latest SDK for windows so I can see what you're seeing.
(I can't use it directly, as I'm using Linux)

It looks like things have changed a bit! And my previous post should probably be ignored.

There's a read-me file in the SDK, and it starts with this:

Code:
Welcome to the Android SDK!

The Android SDK archive now only contains the tools. It no longer comes
populated with a specific Android platform or Google add-on. Instead you
use the SDK Manager to install or update SDK components such as platforms,
tools, add-ons, and documentation.

In order to start developing applications, you must install at least one
version of the Android platform using the SDK Manager.
...

I haven't used the SDK Manager myself yet, so I'll have to do some reading up.
(But I'm quite happy with my SDK as it is, so don't want to use the latest just yet.)

I imagine that might have something to do with the problem you're seeing.
I probably can't help much until I use the SDK manager myself. Sorry.

Mark
 
Upvote 0
Open a command prompt, navigate to your sdk location \ tools directory.

Run:

android list target

^^ this should produce a list of targets that the sdk has installed. If you have no targets installed you need to run tools\android and install / update the packages for the build targets you want to develop against.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones