{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/17904","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/17904/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/17904/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/17904/events","html_url":"https://github.com/facebook/react-native/issues/17904","id":295417983,"number":17904,"title":"gradle.bat (access is denied) when running react-native run-android","user":{"login":"vdcautomation","id":36259119,"avatar_url":"https://avatars2.githubusercontent.com/u/36259119?v=4","gravatar_id":"","url":"https://api.github.com/users/vdcautomation","html_url":"https://github.com/vdcautomation","followers_url":"https://api.github.com/users/vdcautomation/followers","following_url":"https://api.github.com/users/vdcautomation/following{/other_user}","gists_url":"https://api.github.com/users/vdcautomation/gists{/gist_id}","starred_url":"https://api.github.com/users/vdcautomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdcautomation/subscriptions","organizations_url":"https://api.github.com/users/vdcautomation/orgs","repos_url":"https://api.github.com/users/vdcautomation/repos","events_url":"https://api.github.com/users/vdcautomation/events{/privacy}","received_events_url":"https://api.github.com/users/vdcautomation/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-08T08:04:54Z","updated_at":"2018-02-08T08:04:54Z","closed_at":null,"author_association":"NONE","body":"I'm hitting error after running react-native run-android, it hits the error after unzipping gradle file.\r\n\r\nC:\\projects\\myapp>react-native run-android\r\nScanning folders for symlinks in C:\\projects\\myapp\\node_modules (62ms)\r\nJS server already running.\r\nBuilding and installing the app on the device (cd android && gradlew.bat installDebug)...\r\nDeleting directory C:\\Users\\hoich\\.gradle\\wrapper\\dists\\gradle-4.1-all\\38gmb0xnu6gupohgu61ilzbig\\gradle-4.1\r\nUnzipping C:\\Users\\hoich\\.gradle\\wrapper\\dists\\gradle-4.1-all\\38gmb0xnu6gupohgu61ilzbig\\gradle-4.1-all.zip to C:\\Users\\hoich\\.gradle\\wrapper\\dists\\gradle-4.1-all\\38gmb0xnu6gupohgu61ilzbig\r\nException in thread \"main\" java.io.FileNotFoundException: C:\\Users\\hoich\\.gradle\\wrapper\\dists\\gradle-4.1-all\\38gmb0xnu6gupohgu61ilzbig\\gradle-4.1\\bin\\gradle.bat (Access is denied)\r\n        at java.io.FileOutputStream.open0(Native Method)\r\n        at java.io.FileOutputStream.open(FileOutputStream.java:270)\r\n        at java.io.FileOutputStream.<init>(FileOutputStream.java:213)\r\n        at java.io.FileOutputStream.<init>(FileOutputStream.java:162)\r\n        at org.gradle.wrapper.Install.unzip(Install.java:172)\r\n        at org.gradle.wrapper.Install.access$500(Install.java:26)\r\n        at org.gradle.wrapper.Install$1.call(Install.java:69)\r\n        at org.gradle.wrapper.Install$1.call(Install.java:46)\r\n        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)\r\n        at org.gradle.wrapper.Install.createDist(Install.java:46)\r\n        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)\r\n        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)\r\nCould not install the app on the device, read the error above for details.\r\nMake sure you have an Android emulator running or a device connected and have\r\nset up your Android development environment:\r\nhttps://facebook.github.io/react-native/docs/android-setup.html"}}
{"actor":{"display_login":"vdcautomation"}}