You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/10/06 15:25:20 UTC

[jira] [Comment Edited] (CB-11964) Gradle build failure after any plugin installation

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

Joe Bowser edited comment on CB-11964 at 10/6/16 3:24 PM:
----------------------------------------------------------

Well, having this cleanly import into Android Studio is non-negotiable, so we have to find a way around it.  Is gradle running as a different user in the latest version?


was (Author: bowserj):
Well, having this cleanly import into Android Studio is non-negotiable, so we have to find a way around it.

> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org