android - Cordova android 平台安装失败,错误为 : Error during processing of action! 正在尝试还原

标签 android cordova cordova-plugins cordova-cli cordova-plugin-proguard

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

日志:

Creating android project...
Creating Cordova project for the Android platform:
    Path: platforms\android
    Package: com.diona.mobility.clientApplication
    Name: Client Application
    Android target: android-19
Copying template files...
Running: android update project --subprojects --path "platforms\android" --target android-19 --library "CordovaLib"
Resolved location of library project to: E:\Products\Worksapce\dimas\build\clients\ClientApplication\full\cordova\platforms\android\CordovaLib
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:\Products\Worksapce\dimas\build\clients\ClientApplication\full\cordova\platforms\android\build.xml
Added file E:\Products\Worksapce\dimas\build\clients\ClientApplication\full\cordova\platforms\android\proguard-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:\Products\Worksapce\dimas\build\clients\ClientApplication\full\cordova\platforms\android\CordovaLib\build.xml
Added file E:\Products\Worksapce\dimas\build\clients\ClientApplication\full\cordova\platforms\android\CordovaLib\proguard-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...

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

最佳答案

我认为 cordova 插件有问题。就像这篇文章中描述的那样:Broken BarcodeScanner Plugin我会说这个问题是关于某事的。与插件。

您说几周来一切正常,所以我不会担心您的脚本。对其他用户有效的解决方案是从 gitHub 复制插件并从本地路径安装它。

git clone https://github.com/pathtoplugin.git

cd to your Cordova project.

Cordova plugin add InsertPath\BarcodeScanner

关于android - Cordova android 平台安装失败,错误为 : Error during processing of action! 正在尝试还原,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29749757/

相关文章:

android - 如何实现 Android 标记的拖放?

android - 编写在 MainActivity 中声明的 Textview

node.js - Cordova Hook : stop node until promise finished

javascript - 纯粹使用 javascript 而不使用 Nodejs 下载 azure blob?

javascript - 如何在 Cordova PhoneGap 应用程序中打开设置-> iPhone 的隐私

css - 如何在cordova元素中添加基本的UI组件?

java - 在 Java 中使 Android 手机静音

java - 使用 espresso 在 coordinatorlayout 中滚动

ios - 我需要 Xcode(和 Mac)来开发适用于 iOS 的 Ionic 应用程序吗?

cordova - DeprecationWarning : Tapable. 插件已弃用。改用 `.hooks` 上的新 API