Search code examples
androidcordovacordova-pluginscordova-clicordova-plugin-proguard

Cordova android platform installation fails with error : Error during processing of action! Attempting to revert


We have automated scripts for installing the cordova plugins and installing all the cordova platforms and finally to build the binaries. The setup used for from long time. From today the builds started failing while installing the android platform with error Error during processing of action! Attempting to revert....

Log :

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...

Is anyone aware of this error? Thanks in advance.


Solution

  • After wasting few hours found that this build failures are because of dependency changes in latest com.phonegap.plugin.mobile-accessibility plugin. Removing this plugin resolved the error(Had no other option as there is no previous tagged working version for the same plugin).