简体   繁体   English

添加cordova图像选择器插件后,cordova构建错误

[英]cordova build error after add cordova image picker plugin

I am developing an app using Cordova. 我正在使用Cordova开发应用程序。 Everything is fine but after add image-picker plugin, build Cordova action give me this error: 一切都很好,但是在添加了图像选择器插件之后,构建Cordova操作会给我这个错误:

建立Cordova屏幕截图

Can anyone help me solve this error ??????? 谁能帮我解决这个错误?

It happens sometimes.Make a copy of the Project as Backup Before try the following. 有时会发生。请复制项目的副本作为备份,然后尝试以下操作。

Solution 1: Remove and add the particular plugin 解决方案1:删除并添加特定的插件

cordova plugin add cordova-plugin-image-picker

Solution 2: Remove and Add Platforms. 解决方案2:删除和添加平台。

cordova platform remove android
cordova platform add android

Solution 3: tTry to Update Cordova CLI and platforms to the latest one 解决方案3:尝试将Cordova CLI和平台更新到最新版本

Check the Official Guide Lines here 此处查看官方指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM