Cordova android platform installation fails with error : Error during processing of action! Attempting to revert
Cordova android platform installation fails with error : Error during processing of action! Attempting to revert
我们有用于安装 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 插件有问题。就像这个Post中描述的那样:Broken BarcodeScanner Plugin我会说这个问题是关于某事的。与插件。
你说几周来一切正常,所以我不会担心你的脚本。对其他用户有效的解决方案是从 gitHub 复制插件并从本地路径安装它。
git clone https://github.com/pathtoplugin.git
cd to your Cordova project.
Cordova plugin add InsertPath\BarcodeScanner
浪费了几个小时后发现这个构建失败是因为最新的 com.phonegap.plugin.mobile-accessibility 插件的依赖性变化。删除此插件解决了错误(没有其他选项,因为同一插件没有以前标记的工作版本)。
我们有用于安装 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 插件有问题。就像这个Post中描述的那样:Broken BarcodeScanner Plugin我会说这个问题是关于某事的。与插件。
你说几周来一切正常,所以我不会担心你的脚本。对其他用户有效的解决方案是从 gitHub 复制插件并从本地路径安装它。
git clone https://github.com/pathtoplugin.git
cd to your Cordova project.
Cordova plugin add InsertPath\BarcodeScanner
浪费了几个小时后发现这个构建失败是因为最新的 com.phonegap.plugin.mobile-accessibility 插件的依赖性变化。删除此插件解决了错误(没有其他选项,因为同一插件没有以前标记的工作版本)。