Eclipse android sdk bundle can't open Android SDK Manager

后端 未结 5 2009
北荒
北荒 2020-12-19 12:37

I downloaded new Android and Eclipse bundle in my new notebook (Window 7 64 bit) then I open my old files that I used to work in PC.When I open, it shows some error about ve

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-19 13:11

    In android_sdk\tools\lib 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:\windows\system32\java.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 .

提交回复
热议问题