科尔多瓦安卓平台安装失败并显示错误:处理操作时出错!正在尝试还原



我们有自动化脚本来安装cordova插件和安装所有cordova平台,最后构建二进制文件。设置从很长一段时间使用。从今天开始,构建在安装 android 平台时开始失败,并在处理操作时出现错误错误!正在尝试还原...

日志:

Creating android project...
Creating Cordova project for the Android platform:
    Path: platformsandroid
    Package: com.diona.mobility.clientApplication
    Name: Client Application
    Android target: android-19
Copying template files...
Running: android update project --subprojects --path "platformsandroid" --target android-19 --library "CordovaLib"
Resolved location of library project to: E:ProductsWorksapcedimasbuildclientsClientApplicationfullcordovaplatformsandroidCordovaLib
Updated and renamed default.properties to project.properties
Updated local.properties
No project name specified, using Activity name 'ClientApplication'.
If you wish to change it, edit the first line of build.xml.
Added file E:ProductsWorksapcedimasbuildclientsClientApplicationfullcordovaplatformsandroidbuild.xml
Added file E:ProductsWorksapcedimasbuildclientsClientApplicationfullcordovaplatformsandroidproguard-project.txt
Updated project.properties
Updated local.properties
No project name specified, using project folder name 'CordovaLib'.
If you wish to change it, edit the first line of build.xml.
Added file E:ProductsWorksapcedimasbuildclientsClientApplicationfullcordovaplatformsandroidCordovaLibbuild.xml
Added file E:ProductsWorksapcedimasbuildclientsClientApplicationfullcordovaplatformsandroidCordovaLibproguard-project.txt
Project successfully created.
Installing "com.phonegap.plugin.mobile-accessibility" for android
Fetching plugin "https://github.com/apache/cordova-plugin-device.git" via git clone
Installing "cordova-plugin-device" for android
Fetching plugin "https://github.com/apache/cordova-plugin-network-information.git" via git clone
Installing "cordova-plugin-network-information" for android
Installing "com.pushwoosh.plugins.pushwoosh" for android
Installing "de.appplant.cordova.plugin.email-composer" for android
Installing "de.appplant.cordova.plugin.local-notification" for android
Error during processing of action! Attempting to revert...

有人知道这个错误吗?提前谢谢。

我认为科尔多瓦插件有问题。就像这篇文章中描述的那样:破碎的条形码扫描仪插件,我会说问题与sth有关。与插件。

你说几个星期都很好,所以我不会担心你的剧本。对其他用户有效的解决方案是从 gitHub 复制插件并从本地路径安装它。

git clone https://github.com/pathtoplugin.git
cd to your Cordova project.
Cordova plugin add InsertPathBarcodeScanner

浪费了几个小时后发现此构建失败是由于最新的com.phonegap.plugin.mobile-accessibility plugin中的依赖项更改。删除此插件解决了错误(没有其他选择,因为同一插件没有以前标记的工作版本)。

相关内容

最新更新