简体   繁体   English

我在Eclipse中的SDK Manager无法打开

[英]My SDK Manager in Eclipse will not open

I've just started learning to use Eclipse and I a having trouble opening my SDK Manager. 我刚刚开始学习使用Eclipse,但是在打开我的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. 每次尝试时,用于启动SDK Manager的加载栏都会达到75%左右,并且只会关闭而不会显示任何错误或警告消息。

When I try to run the SDK Manager from my SDK folder, a console with the following error message came up (shown below). 当我尝试从我的SDK文件夹运行SDK Manager时,出现带有以下错误消息的控制台(如下所示)。 在此处输入图片说明

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

Android SDK manager won't open Android SDK管理器无法打开

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. 我曾尝试编辑find_java.batandroid.bat (根据提到的那些关于Stack Overflow的问题以及我在网上找到的其他资源),但是我仍然无法打开我的SDK Manager。 What else could be the problem and what else can I try to get it working? 还有什么可能是问题,我还可以尝试使它起作用吗?

Press the Windows button and Search for android.bat(in the search programs and files text field) 按Windows按钮并搜索android.bat(在搜索程序和文件文本字段中)

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. 之后,不要运行SDK Manager,而是运行android.bat文件。

Or try this link: 或尝试以下链接:

Eclipse android sdk bundle can't open Android SDK Manager Eclipse Android SDK捆绑包无法打开Android SDK Manager

In Eclipse go to Windows->Preferences and select Android. 在Eclipse中,转到Windows-> Preferences,然后选择Android。 Here you should make sure the path to the SDK is correct. 在这里,您应该确保SDK的路径正确。 It should be in a folder called adt-bundle-windows-x86_64 它应该在一个名为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. 如果您可以找到安装SDK Manager.exe的位置,则该路径应在Eclipse中设置为该路径,但该路径指向该路径中的sdk文件夹而不是可执行文件。

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. 如果选择“应用”时路径正确,则应该在“ SDK目标”列表中至少看到三件事。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM