[ 
https://issues.apache.org/jira/browse/CB-11964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552790#comment-15552790
 ] 

ASF GitHub Bot commented on CB-11964:
-------------------------------------

GitHub user infil00p opened a pull request:

    https://github.com/apache/cordova-android/pull/339

    CB-11964: Do a clean when installing a plugin to et around the bug

    This is a quick fix for the problem, and it might fix some other build 
errors.  I'm not sure about doing it here, because it might break more stuff, 
but hey, that's what PRs and CI are for. :)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/infil00p/cordova-android PluginInstallClean

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/339.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #339
    
----
commit 9faf99c1b47abc020cf080d04a179254e60acff4
Author: Joe Bowser <bows...@apache.org>
Date:   2016-10-06T18:41:28Z

    CB-11964: Do a clean when installing a plugin to et around the bug

----


> Gradle build failure after any plugin installation
> --------------------------------------------------
>
>                 Key: CB-11964
>                 URL: https://issues.apache.org/jira/browse/CB-11964
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>         Environment: node 4.4.3
> cordova 6.3.0
>            Reporter: Alexander Sorokin
>              Labels: found-by-ci, triaged
>
> {noformat}
> cordova create foo
> cd foo
> cordova platform add android@https://github.com/apache/cordova-android
> cordova build
> cordova plugin add cordova-plugin-device
> cordova build
> {noformat}
> Results in the following error:
> {noformat}
> BUILD FAILED
> Total time: 2.439 secs
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':packageDebug'.
> > java.io.FileNotFoundException: 
> > C:\Cordova\foo\platforms\android\build\intermediates\assets\debug\www\plugins
> >  (Access is denied)
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> Error: cmd: Command failed with exit code 1 Error output:
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':packageDebug'.
> > java.io.FileNotFoundException: 
> > C:\Cordova\foo\platforms\android\build\intermediates\assets\debug\www\plugins
> >  (Access is denied)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to