在打開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即可。
