Error after installing Document Viewer plugin

After I have installed Document Viewer plugin (with ionic 3 project and platform added android) I have this error:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:mergeDebugResources’.

Error: java.util.concurrent.ExecutionException: java.io.IOException: � in corso la chiusura della pipe

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova run android (exit code 1).