SDK Manager.exe doesn't work

前端 未结 25 1138
青春惊慌失措
青春惊慌失措 2020-11-27 14:28

When I clicked SDK Manager on Program Files or run it in cmd, nothing happened. I did:

  1. Installed latest JDK
  2. Installed latest Android SDK<
相关标签:
25条回答
  • 2020-11-27 15:26

    find_java.exe doesn't seem to like the openjdk "java -version" output. I edited find_java.bat like this:

    for /f %%a in ('%~dps0\find_java.exe -s') do set java_exe=%%a
    set java_exe="C:\Program Files (x86)\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe"
    
    rem ...
    
    for /f %%a in ('%~dps0\find_java.exe -s -w') do set javaw_exe=%%a
    set javaw_exe="C:\Program Files (x86)\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\javaw.exe"
    
    0 讨论(0)
提交回复
热议问题