将插件FileTransfer添加到config.xml会在android的phonegap-build上失败 .
<gap:plugin name="cordova-plugin-file-transfer" source="npm" version="1.3.0"/>
我看到了有关cordova构建的答案 . 但是我应该如何解决phonegap构建的问题?它一直工作到今天(或者可能是昨天) . 我应该改变什么?
cordova-plugin-file-transfer 也安装 cordova-plugin-file ,最新版本的 cordova-plugin-file 在phonegap构建中没有't support phonegap build because it requires cordova android 5.0.0 that isn' t,所以请自行安装 cordova-plugin-file 与之前的版本,在 cordova-plugin-file-transfer 之前添加此行
cordova-plugin-file-transfer
cordova-plugin-file
<gap:plugin name="cordova-plugin-file" source="npm" version="3.0.0"/>
这将很快恢复,所以在几个小时内它不应该是一个问题
1 回答
cordova-plugin-file-transfer
也安装cordova-plugin-file
,最新版本的cordova-plugin-file
在phonegap构建中没有't support phonegap build because it requires cordova android 5.0.0 that isn' t,所以请自行安装cordova-plugin-file
与之前的版本,在cordova-plugin-file-transfer
之前添加此行这将很快恢复,所以在几个小时内它不应该是一个问题