简体   繁体   English

Eclipse SDK 管理器未出现

[英]Eclipse SDK Manager Not Showing up

I'm using Windows-7 64 bit and I have installed this(jdk-7u45-windows-x64) updated JDK in my system.我正在使用 Windows-7 64 位并且我已经在我的系统中安装了这个 (jdk-7u45-windows-x64) 更新的 JDK。 My SDK was updated upto API level 18(Android 4.3).我的 SDK 已更新至 API 级别 18(Android 4.3)。

When i click on SDK manager in the eclipse, it does not start.当我在 Eclipse 中单击 SDK 管理器时,它不会启动。 I tried open it directly with Administrator permission also.我也尝试使用管理员权限直接打开它。 But it does not start.但它没有开始。 I had tried to set the variable path like these.我曾尝试像这样设置变量路径。 在此处输入图片说明在此处输入图片说明 But I'm always getting the same error like this.但我总是遇到这样的错误。在此处输入图片说明

After I found that in my find_java.exe get the java path from windows\\system32 as shown below在我发现在我的find_java.exe 中从 windows\\system32 获取 java 路径后,如下所示在此处输入图片说明. .

How can I set the Java path to my installed java folder.如何将 Java 路径设置为已安装的 java 文件夹。

Need some one help to figure it out.需要一些帮助才能弄清楚。 For Reference look at this link also.对于参考,也请查看此链接。 SDK manager not starting SDK 管理器未启动

While setting the environment variable try JAVA_HOME variable pointing the bin directory.在设置环境变量时尝试指向 bin 目录的 JAVA_HOME 变量。

because the android checks the java.exe in particular path.因为android在特定路径中检查java.exe。

I am new to android,As long as i studied ,Android requires Java 1.5 or 1.6.我是 android 新手,只要我学习过,Android 就需要 Java 1.5 或 1.6。 You are using 1.7 Google does not add complete jdk 1.7 support to android system requirement(some api are exception) .. It does not mean that you should not have jdk 1.7.您使用的是 1.7 Google 未将完整的 jdk 1.7 支持添加到 android 系统要求(某些 api 是例外).. 这并不意味着您不应该拥有 jdk 1.7。 you should also have 1.6 jdk for compiler compilance.您还应该有 1.6 jdk 用于编译器编译。 it is a better way to avoid using 1.7 jdk ,if u dont want jdk 1.7 features.如果您不想要 jdk 1.7 功能,这是避免使用 1.7 jdk 的更好方法。 http://developer.android.com/sdk/index.html see the system requirements and even if u developed using 1.7...when you installing your app in real device .we may face signing issue. http://developer.android.com/sdk/index.html查看系统要求,即使你使用 1.7 开发......当你在真实设备上安装你的应用程序时。我们可能会面临签名问题。 you may use some jar file which targetting java 1.7.您可以使用一些针对 java 1.7 的 jar 文件。 but android system runtime(dalvik jvm) does not know how to process those files which means dex tool wont process those files which belongs to 1.7 and it wont create classes.dex file..hope it will help somehow但是android系统运行时(dalvik jvm)不知道如何处理这些文件,这意味着dex工具不会处理属于1.7的文件,也不会创建classes.dex文件..希望它会有所帮助

From the error you have posted it seems the problem is only with the path settings.从您发布的错误来看,问题似乎仅在于路径设置。

Add the path upto the bin folder of your jdk - C:\\Program Files\\Java\\jdk1.7.0_45\\bin and restart the eclipse.将路径添加到jdkbin 文件夹- C:\\Program Files\\Java\\jdk1.7.0_45\\bin 并重新启动 eclipse。

请验证您在 Window->Preferences->Android 中的 SDK Location 是否指向正确的 SDK 路径。

Download latest android bundle from http://developer.android.com/sdk/index.html .http://developer.android.com/sdk/index.html下载最新的 android 包。

and replace new sdk folder with old sdk folder from android bundle folder.并将新的 sdk 文件夹替换为 android bundle 文件夹中的旧 sdk 文件夹。

now it's may work.现在它可能工作。

Finally Reinstalled my OS and Installed JDK 1.6.最后重新安装了我的操作系统并安装了 JDK 1.6。 Then I have added my updated SDK to my ADT.然后我将更新的 SDK 添加到我的 ADT。 It works fine now.它现在工作正常。

I've had the same issue, and this solved it我遇到了同样的问题,这解决了它

在此处输入图片说明 在此处输入图片说明 在此处输入图片说明

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

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