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”,该问题解决。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容