我正在尝试使用命令“cordova run”在我的Android手机上运行cordova应用程序。每次我将手机连接到电脑并运行此命令时,都会出现以下错误:
我该如何解决这个问题?
正在将应用安装到设备上...
/Users/Rubio/Projects/beaconDemo/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: pkg: /data/local/tmp/CordovaApp-debug.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
ERROR running one or more of the platforms: Error: /Users/Rubio/Projects/beaconDemo/platforms/android/cordova/run: Command failed with exit code 8
You may not have the required environment or OS to run this project
我该如何解决这个问题?