Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse can't locate my sdk folder

I've already installed android sdk and the adt plugin on eclipse helios* on windows 7. when i go to preference, however, i got a problem in locating my sdk location. my sdk location was "C:\Program Files\Android\android-sdk\platform-tools". it says "Could not find folder 'tool...roid-sdk\platform-tools\'". I also tried to update android sdk, but it says access denied.

I've been looking into some forums about this, but i only found those that has problems locating the adb.exe on their folders. Any help would be appreciated, because i badly need to develop an android app for my thesis and tech presentation. thank you very much.

*eclipse helios is not really installed, I'm using its program files that i copied. i don't know if installing it or just running the files will affect the android sdk, so..yeah.

like image 670
kyrie Avatar asked Jul 31 '11 14:07

kyrie


People also ask

How do I fix Sdk location not found?

Close the current project and you'll see a pop-up with a dialog which will then proceed to Configure option. Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local. properties and select Valid Target.

What is Sdk location in eclipse?

Select Window > Preferences... to open the Preferences panel (Mac: Eclipse > Preferences). Select Android from the left panel. For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.

What is Sdk path?

The Android SDK path is usually C:\Users\<username>\AppData\Local\Android\sdk . Follow this answer to receive notifications.


2 Answers

I found my SDK location in the following way (I have Windows 7 OS, and I use Eclipse):

In Eclipse: Window -> Preferences -> Android. There, you can find it in a textbox, near the label "SDK Location".

I hope it will help someone in the future.

like image 101
Gari BN Avatar answered Oct 25 '22 02:10

Gari BN


Judging from what's configured in my Eclipse (and I can work with Android, launch Emulators and all, so it's configured OK), you should not use the following path :

C:\Program Files\Android\android-sdk\platform-tools

But only this one :

C:\Program Files\Android\android-sdk


Basically, you should indicate the path to the directory that contains the whole SDK, and not to the platform-tools directory.

like image 30
Pascal MARTIN Avatar answered Oct 25 '22 01:10

Pascal MARTIN