Alexander Sorokin created CB-11964:
--------------------------------------

             Summary: Gradle build failure after plugin add
                 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
OS: Windows 10
            Reporter: Alexander Sorokin


{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to