解决android sdk manage打开闪退的解决方法

在打开android sdk mangage.exe的时候,一闪而过,在eclipse中出现如下提示:

[2015-07-20 13:42:23 - SDK Manager] [SDK Manager] This version of F:\Andriod\SDK\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.

解决办法:

1、编辑打开\sdk\tools下的Android.bat文件

2、找到:

我的默认是这样的:

rem Check we have a valid Java.exe in the path.
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF

改成:

rem Check we have a valid Java.exe in the path.
set java_exe=D:\Program Files\Java\jdk1.8.0_25\bin\java.exe 
rem call lib\find_java.bat
if not defined java_exe goto :EOF
##这是jdk中java.exe的安装路径
D:\Program Files\Java\jdk1.8.0_25\bin\java.exe

3、将 call lib\find_java.bat这行,改成 rem call lib\find_java.bat

4、保存关闭Android.bat文件,重新打开Android SDK Manager即可。

posted @ 2015-07-20 14:03  北斗极星  阅读(6951)  评论(1编辑  收藏  举报