{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2835","repository_url":"https://api.github.com/repos/ionic-team/ionic-cli","labels_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2835/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2835/comments","events_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2835/events","html_url":"https://github.com/ionic-team/ionic-cli/issues/2835","id":268696628,"number":2835,"title":"cordova build android error spawn EACCES when I update Android Studio 3.0(Gradle 4.1)","user":{"login":"silentcmz","id":2976935,"avatar_url":"https://avatars3.githubusercontent.com/u/2976935?v=4","gravatar_id":"","url":"https://api.github.com/users/silentcmz","html_url":"https://github.com/silentcmz","followers_url":"https://api.github.com/users/silentcmz/followers","following_url":"https://api.github.com/users/silentcmz/following{/other_user}","gists_url":"https://api.github.com/users/silentcmz/gists{/gist_id}","starred_url":"https://api.github.com/users/silentcmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentcmz/subscriptions","organizations_url":"https://api.github.com/users/silentcmz/orgs","repos_url":"https://api.github.com/users/silentcmz/repos","events_url":"https://api.github.com/users/silentcmz/events{/privacy}","received_events_url":"https://api.github.com/users/silentcmz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":43,"created_at":"2017-10-26T09:52:08Z","updated_at":"2018-02-14T18:21:43Z","closed_at":"2017-11-09T16:50:37Z","author_association":"NONE","body":"<!-- *** PLEASE READ ***\r\n\r\nFor support questions, use one of these channels:\r\n    https://forum.ionicframework.com/\r\n    https://ionicworldwide.herokuapp.com/\r\n\r\nFor build related issues, use the ionic-app-scripts repo:\r\n    https://github.com/ionic-team/ionic-app-scripts\r\n\r\nFor feature requests, you can wipe out this issue template and just describe\r\nthe feature.\r\n-->\r\n\r\n**Description:**\r\n<!-- Please describe the problem you're having. -->\r\n> cordova build android\r\nANDROID_HOME=/Users/Minzou/Library/Android/sdk\r\nJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home\r\nError: spawn EACCES\r\n\r\n[ERROR] An error occurred while running cordova build android (exit code 1).\r\n\r\n[17:43:12]  lint finished in 2.41 s\r\nbogon:cutePuppyPics Minzou$ cordova build android\r\nANDROID_HOME=/Users/Minzou/Library/Android/sdk\r\nJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home\r\nError: spawn EACCES\r\n\r\n\r\n**Steps to Reproduce:**\r\nionic cordova build android --prod\r\n\r\nExample repo: <!-- repo url here, or \"N/A\" -->\r\n\r\n1.\r\n2.\r\n3.\r\n\r\n**Output:**\r\nANDROID_HOME=/Users/Minzou/Library/Android/sdk\r\nJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home\r\nError: spawn EACCES\r\n\r\n**My `ionic info`:**\r\nbogon:cutePuppyPics Minzou$ ionic info\r\n\r\ncli packages: (/usr/local/lib/node_modules)\r\n\r\n    @ionic/cli-utils  : 1.15.1\r\n    ionic (Ionic CLI) : 3.15.1\r\n\r\nglobal packages:\r\n\r\n    cordova (Cordova CLI) : 7.1.0\r\n\r\nlocal packages:\r\n\r\n    @ionic/app-scripts : 3.0.1\r\n    Cordova Platforms  : android 6.2.3\r\n    Ionic Framework    : ionic-angular 3.7.1\r\n\r\nSystem:\r\n\r\n    Android SDK Tools : 26.1.1\r\n    Node              : v8.8.0\r\n    npm               : 5.5.1\r\n    OS                : macOS Sierra\r\n    Xcode             : Xcode 9.0.1 Build version 9A1004\r\n\r\nEnvironment Variables:\r\n\r\n    ANDROID_HOME : /Users/Minzou/Library/Android/sdk\r\n\r\nMisc:\r\n\r\n    backend : legacy\r\n\r\n**Other Information:**\r\n<!--\r\ne.g. stacktraces, related issues, suggestions how to fix, stackoverflow links,\r\nforum links, etc\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/comments/365698361","html_url":"https://github.com/ionic-team/ionic-cli/issues/2835#issuecomment-365698361","issue_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2835","id":365698361,"user":{"login":"medericdegoy","id":36485403,"avatar_url":"https://avatars2.githubusercontent.com/u/36485403?v=4","gravatar_id":"","url":"https://api.github.com/users/medericdegoy","html_url":"https://github.com/medericdegoy","followers_url":"https://api.github.com/users/medericdegoy/followers","following_url":"https://api.github.com/users/medericdegoy/following{/other_user}","gists_url":"https://api.github.com/users/medericdegoy/gists{/gist_id}","starred_url":"https://api.github.com/users/medericdegoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medericdegoy/subscriptions","organizations_url":"https://api.github.com/users/medericdegoy/orgs","repos_url":"https://api.github.com/users/medericdegoy/repos","events_url":"https://api.github.com/users/medericdegoy/events{/privacy}","received_events_url":"https://api.github.com/users/medericdegoy/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T18:21:43Z","updated_at":"2018-02-14T18:21:43Z","author_association":"NONE","body":"`cordova build --verbose android` helps identifying a necessary \r\n`chmod 777 platforms/android/gradlew`\r\n\r\nbuild passed, thanks to all :)"}}
{"actor":{"display_login":"medericdegoy"}}