In android_sdkoolslib
there's a batch-file called find_java.bat
. It calls find_java.exe -s
to find a list of potential Java locations. Running the exe
file like this returns the error I've been seeing:
Failed to convert path to short DOS path: c:windowssystem32java.exe
-s
stands for short. Running it without the -s
causes find_java.exe to work, causing find_java.bat to work, causing everything else to work. So the fix was to edit find_java.bat, and remove the -s
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…