0

I've just started learning to use Eclipse and I a having trouble opening my SDK Manager. Each time I try, the loading bar for starting the SDK Manager gets to around 75% and just closes with no error or warning messages.

When I try to run the SDK Manager from my SDK folder, a console with the following error message came up (shown below). enter image description here

I then tried sorting out the file path using the following Stack Overflow questions below:

Can't get Android SDK Manager to open

Android SDK manager won't open

I have tried editing both the find_java.bat and android.bat (according to those mentioned Stack Overflow questions and other sources I found online) but I still can't open my SDK Manager. What else could be the problem and what else can I try to get it working?

Community
  • 1
  • 1
Osiris93
  • 189
  • 1
  • 15

2 Answers2

0

Press the Windows button and Search for android.bat(in the search programs and files text field)

Then copy the file to your android sdk folder 
(C:\Users\Shan\Documents\Computer Science - YEAR 2\Android App Development\adt-
bundle-windows-x86-20130917\sdk\tools\).

After that dont run SDK manager but run the android.bat file.

Or try this link:

Eclipse android sdk bundle can't open Android SDK Manager

Community
  • 1
  • 1
KishuDroid
  • 5,411
  • 4
  • 30
  • 47
  • I tried that link you suggested there as well and it didn't work either. My android.bat is in my SDK folder already. When you say I must run the android.bat file, how do I go about doing that? – Osiris93 Sep 25 '15 at 10:40
  • Try starting the SDK from command prompt by using android.bat in the tools folder , Right click on android.bat and choose run as administrator – KishuDroid Sep 25 '15 at 10:53
  • Ok I tried it but each time I open the command prompt using the android.bat the prompt opens and immediately closes before I can even get my hands back on the keyboard. How can I make it stay open long enough to try and start the SDK inside it? Also what is the command for starting the SDK inside the prompt? – Osiris93 Sep 25 '15 at 11:03
  • see this link :http://techathlon.com/fix-android-sdk-manager-failing-open-android-development-tools-bundle/ – KishuDroid Sep 25 '15 at 11:08
0

In Eclipse go to Windows->Preferences and select Android. Here you should make sure the path to the SDK is correct. It should be in a folder called adt-bundle-windows-x86_64

If you can find where SDK Manager.exe is installed that is where the path should be set to in Eclipse with the exception that it points to the sdk folder in that path not the executable.

If the path is correct when you select Apply you should see at least three things in show up in the list of SDK Targets.