cordova Source and destination must not be the same 问题解决办法

环境:quasar+cordova

错误现象:

   1、启动手机app开发环境时(quasar dev -m cordova -T android),出现“cordova Source and destination must not be the same”错误提示,并且停止在错误提示处,无法正常启动下去。

   2、通过执行“cordova platform remove android”、“cordova platform add android”以刷新当前环境参数,但在“cordova platform add android”的执行提示的最后一行仍然提示“cordova Source and destination must not be the same”。

解决办法:

   根据“cordova platform add android”提示的最后一个安装插件,将该插件卸载掉(cordova plugin remove 插件名),重新执行“cordova platform remove android”和“cordova platform add android”,该问题解决。

你可能感兴趣的:(cordova Source and destination must not be the same 问题解决办法)