【发布时间】:2015-02-15 08:39:11
【问题描述】:
我已经被这个问题困扰了超过 2 天了。 Android SDK 管理器无法启动。
[2014-12-17 03:08:13 - SDK Manager] [SDK Manager] find: ‘/i’: No such file or directory
[2014-12-17 03:08:13 - SDK Manager] [SDK Manager] find: ‘x86’: No such file or directory
[2014-12-17 03:08:13 - SDK Manager] [SDK Manager] This version of E:\ECLIPS~1\ANDROI~1\tools\lib\find_java64.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
[2014-12-17 03:08:14 - SDK Manager] [SDK Manager] '""C:\Program' is not recognized as an internal or external command,
[2014-12-17 03:08:14 - SDK Manager] [SDK Manager] operable program or batch file.
[2014-12-17 03:09:15 - SDK Manager] [SDK Manager] find: ‘/i’: No such file or directory
[2014-12-17 03:09:15 - SDK Manager] [SDK Manager] find: ‘x86’: No such file or directory
[2014-12-17 03:09:15 - SDK Manager] [SDK Manager] This version of E:\ECLIPS~1\ANDROI~1\tools\lib\find_java64.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
[2014-12-17 03:09:15 - SDK Manager] [SDK Manager] '""C:\Program' is not recognized as an internal or external command,
[2014-12-17 03:09:15 - SDK Manager] [SDK Manager] operable program or batch file.
[2014-12-17 03:13:40 - SDK Manager] [SDK Manager] find: ‘/i’: No such file or directory
[2014-12-17 03:13:40 - SDK Manager] [SDK Manager] find: ‘x86’: No such file or directory
[2014-12-17 03:13:40 - SDK Manager] [SDK Manager] This version of E:\ECLIPS~1\ANDROI~1\tools\lib\find_java64.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
[2014-12-17 03:13:40 - SDK Manager] [SDK Manager] The system cannot find the path specified.
[2014-12-17 03:13:40 - SDK Manager] [SDK Manager] Invalid path
[2014-12-17 03:20:16 - SDK Manager] [SDK Manager] find: ‘/i’: No such file or directory
[2014-12-17 03:20:16 - SDK Manager] [SDK Manager] find: ‘x86’: No such file or directory
[2014-12-17 03:20:17 - SDK Manager] [SDK Manager] This version of E:\ECLIPS~1\ANDROI~1\tools\lib\find_java64.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
[2014-12-17 03:20:18 - SDK Manager] [SDK Manager] '""C:\Program' is not recognized as an internal or external command,
[2014-12-17 03:20:18 - SDK Manager] [SDK Manager] operable program or batch file.
我已经在 find_java.bat 中进行了硬编码 设置 java_exe="C:\Program Files\Java\jdk1.8.0_05\bin\java.exe"
以及在 Android.bat 中 设置 java_exe="C:\Program Files\Java\jdk1.8.0_05\bin\java.exe"
还覆盖了来自http://tools.android.com/knownissues 的文件。
有人可以帮忙吗?
谢谢。
【问题讨论】:
-
检查您计算机的系统信息以查看您是否需要 x86(32 位)或 x64(64 位)版本的程序。如果您需要 32 位版本,请卸载 Java JDK,然后重新安装 32 位版本的 JDK。
-
肯定是 32 位的。不知道为什么要搜索 64 位。我曾经删除了 find_java64 然后也没有帮助。我还有什么遗漏的吗?
-
你没有读到我写的东西。请卸载当前版本的 JDK。你安装错了。
标签: java android android-studio android-sdk-tools