Failed to execute tools\android.bat: solution

前端 未结 18 2109
不知归路
不知归路 2020-11-30 12:13

When I try to open up the SDK Manager in eclipse it says opening shortly, but never opens. I\'ve tried to open the exe file but it displays an error message saying:

相关标签:
18条回答
  • 2020-11-30 12:47

    open Sdk Manager.exe, then i deleted first Android Sdk tools, so, I also appeared such a mistake, then I downloaded installer_r24.3.2-windows.exe, installing, copy C:\Users\Super Man\AppData\Local\Android\android-sdk\tools folder to my Sdk path,run My Sdk Path\android.bat ,ok!!

    0 讨论(0)
  • 2020-11-30 12:51

    Copy your android.bat file to C:\adt-bundle-windows-x86_64-20140702\sdk\tools folder or copy all files to C:\.

    0 讨论(0)
  • 2020-11-30 12:51
    https://developer.android.com/sdk/index.html#Other 
    

    Here are two options for downloading the Android SDK for Windows users. One in recommended option and the other is .zip file. Zip file worked well. Another option may also work. Try searching android.bat with windows search engine. If you find the one, copy it and paste in SDK tools folder.

    0 讨论(0)
  • 2020-11-30 12:55

    I had the same issue when updating the Android SDK Tools and SDK Platform-tools from the SDK Manager. I had to replace the tools folder with one located in a zip folder inside the temp folder.

    0 讨论(0)
  • 2020-11-30 12:56

    If you are seeing this error, it may be an issue with your COMSPEC environment variable.

    Please see https://stackoverflow.com/a/27284746/3866013 for more details.

    0 讨论(0)
  • 2020-11-30 12:59

    I think current Android SDK only works with JDK x86 version. I search so much but when installed JDK x86 version Android SDK manager worked without problem.

    0 讨论(0)
提交回复
热议问题