gpt4 book ai didi

android - 启动 SDK 管理器时出错 : "find_java.exe is not compatible with the version of Windows you' re running"

转载 作者:太空宇宙 更新时间:2023-11-03 12:33:31 24 4
gpt4 key购买 nike

我试图在android studio 中启动android sdk 管理器,但它向我显示以下错误

https://plus.google.com/u/0/113311995935504360295/posts/h5EKzabisQj?pid=6068461235610543378&oid=113311995935504360295

Cannot launch SDK manager

Output:

This version of C:\PROGRA~1\Android\ANDROI~1\sdk\tools\lib\find_java.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.

ERROR: No suitable Java found. In order to properly use the Android Developer Tools, you need a suitable version of Java JDK installed on your system.

至于错误信息,我的系统是32位的java sdk1.7,32位的操作系统,已经设置了我的JAVA_HOME变量到java的安装路径,还是报同样的错误。在另一个系统中,我有 64 位配置,它运行良好,任何帮助将不胜感激。

最佳答案

刚刚解决了同样的问题。 SDK 管理器现在正在打开,我这边没有任何问题。

Solution 1 (working fine): Download the find_java.exe file from previous (working) SDK. Link: Google Drive Paste & replace the file you downloaded to %ProgramFiles%\\tools\lib\

Solution 2: Download the previous SDK and replace it with current version. Link: http://dl.google.com/android/installer_r23.0.2-windows.exe

Solution 3: In /tools/android.bat set java_exe = %ProgramFiles%\\bin\java.exe comment out REM call lib\find_java.bat

关于android - 启动 SDK 管理器时出错 : "find_java.exe is not compatible with the version of Windows you' re running",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26293528/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com