'-v' is not recognized as an internal or external command in android

白昼怎懂夜的黑 提交于 2019-12-08 07:18:59

问题


I am getting this problem on Console when i am trying to open Android SDK Manager:

[2014-12-10 14:39:31 - SDK Manager] [SDK Manager] '-v' is not recognized as an internal or external command,
[2014-12-10 14:39:31 - SDK Manager] [SDK Manager] operable program or batch file.
[2014-12-10 14:39:31 - SDK Manager] [SDK Manager] Invalid path

How can i fix this problem?


回答1:


Update: Issue is fixed with Build Tools 24.0.1 that can be updated through SDK Manager (for those that can start it) or downloaded as installer from http://dl.google.com/android/installer_r24.0.1-windows.exe

It is bug related to Build Tools 24.0.0

Steps to fix:

  • close android studio
  • Download Build Tools v 23.0.5 http://goo.gl/v0UPm6
  • goto \sdk
  • rename 'tools' to 'tools1' (In case you need backup)
  • extract this zip to \sdk
  • it will make tools folder in \sdk
  • restart studio and errors will be gone

https://plus.google.com/107852486976928213243/posts/eASLDXpavAX

https://code.google.com/p/android/issues/detail?id=82099



来源:https://stackoverflow.com/questions/27397250/v-is-not-recognized-as-an-internal-or-external-command-in-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!