问题描述
当我尝试在VS 2015中使用Apache Cordova(TACO)工具部署应用程序时,我收到此错误:
When I try to deploy an application in VS 2015 with Tools for Apache Cordova (TACO), I get this error:
Unable to start program C:\users\pc\AppData\Local\Android\android-sdk\platform-tools\adb.exe
operation not supported. unknown error 0x80070057
我已确认 adb.exe
存在于我的电脑
I have confirmed that adb.exe
exists in my computer
推荐答案
这是为我固定的答案。
1)删除此文件夹:C:\Users\ [username] \appdata\local\microsoft \VisualStudio\14.0\ComponentModelCache
1) Delete this folder: C:\Users\[username]\appdata\local\microsoft\VisualStudio\14.0\ComponentModelCache
2)打开Visual Studio并创建一个新的空白Cordova项目。这将重新生成已删除的文件夹。
2) Open Visual Studio and create a new blank cordova project. This will regenerate the deleted folder.
3)调试空白项目中的波纹,第一次运行可能会抱怨Chrome的问题,调试器可能无法连接。关闭chrome后,并尝试调试一次,它应该根据需要连接。
3) Debug the blank project in ripple, first run may complain about a problem with Chrome and the debugger may fail to connect. Close chrome after this, and try debugging one more time and it should connect as desired.
4)享受一次更多功能的开发环境!
4) Enjoy a once-more functioning development environment!
这篇关于运行Visual Studio 2015 RC时出现adb.exe错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!