Cordova android构建错误
作者:互联网
我得到这个错误,当我尝试在Android设备上构建并运行cordova项目时:
Running app on platform "android" via command "***/Documents/***/App/platforms/android/cordova/run" --device
[Error: An error occurred while running the android project.
/***/Documents/***App/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error executing "ant clean -f /***/Documents/***/App/platforms/android/build.xml": Build failed
有关解决此问题的任何建议吗?
解决方法:
检查“adb devices”命令是否有效.如果它不起作用,请确保安装“android-tools-adb”,然后运行“adb devices”命令.之后重新运行构建.
标签:q,android,cordova 来源: https://codeday.me/bug/20190831/1774710.html