{"action":"opened","issue":{"url":"https://api.github.com/repos/dekimasoon/vue-cli-plugin-cordova/issues/10","repository_url":"https://api.github.com/repos/dekimasoon/vue-cli-plugin-cordova","labels_url":"https://api.github.com/repos/dekimasoon/vue-cli-plugin-cordova/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/dekimasoon/vue-cli-plugin-cordova/issues/10/comments","events_url":"https://api.github.com/repos/dekimasoon/vue-cli-plugin-cordova/issues/10/events","html_url":"https://github.com/dekimasoon/vue-cli-plugin-cordova/issues/10","id":327130606,"number":10,"title":"Errors occurred when executting \"cordova run android\"","user":{"login":"litao10422","id":16515556,"avatar_url":"https://avatars3.githubusercontent.com/u/16515556?v=4","gravatar_id":"","url":"https://api.github.com/users/litao10422","html_url":"https://github.com/litao10422","followers_url":"https://api.github.com/users/litao10422/followers","following_url":"https://api.github.com/users/litao10422/following{/other_user}","gists_url":"https://api.github.com/users/litao10422/gists{/gist_id}","starred_url":"https://api.github.com/users/litao10422/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litao10422/subscriptions","organizations_url":"https://api.github.com/users/litao10422/orgs","repos_url":"https://api.github.com/users/litao10422/repos","events_url":"https://api.github.com/users/litao10422/events{/privacy}","received_events_url":"https://api.github.com/users/litao10422/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-28T23:08:33Z","updated_at":"2018-05-28T23:08:33Z","closed_at":null,"author_association":"NONE","body":"The following errors occur when I execute the command \"cordova run android\".\r\n\r\n```\r\nANDROID_HOME=C:\\Users\\litao\\AppData\\Roaming\\npm\\node_modules\\cordova\\bin\\cordova\r\nJAVA_HOME=C:\\Program Files\\java\\jdk-10.0.1\r\n(node:109244) UnhandledPromiseRejectionWarning: CordovaError: Requirements check failed for JDK 1.8 or greater\r\n    at C:\\MyDvlp\\Cordova\\vue-cordova-pj01\\platforms\\android\\cordova\\lib\\check_reqs.js:370:19\r\n    at _fulfilled (C:\\MyDvlp\\Cordova\\vue-cordova-pj01\\platforms\\android\\cordova\\node_modules\\q\\q.js:854:54)\r\n    at self.promiseDispatch.done (C:\\MyDvlp\\Cordova\\vue-cordova-pj01\\platforms\\android\\cordova\\node_modules\\q\\q.js:883:30)\r\n    at Promise.promise.promiseDispatch (C:\\MyDvlp\\Cordova\\vue-cordova-pj01\\platforms\\android\\cordova\\node_modules\\q\\q.js:816:13)\r\n    at C:\\MyDvlp\\Cordova\\vue-cordova-pj01\\platforms\\android\\cordova\\node_modules\\q\\q.js:624:44\r\n    at runSingle (C:\\MyDvlp\\Cordova\\vue-cordova-pj01\\platforms\\android\\cordova\\node_modules\\q\\q.js:137:13)\r\n    at flush (C:\\MyDvlp\\Cordova\\vue-cordova-pj01\\platforms\\android\\cordova\\node_modules\\q\\q.js:125:13)\r\n    at _combinedTickCallback (internal/process/next_tick.js:131:7)\r\n    at process._tickCallback (internal/process/next_tick.js:180:9)\r\n(node:109244) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:109244) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n```\r\nI checked my JDK environment, there is not any other versions there.\r\n```\r\n    Java\r\n        jdk-10.0.1\r\n        jre-10.0.1\r\n```\r\nPlease teach how to deal with this issue. \r\nThank you very much!\r\n"}}
{"actor":{"display_login":"litao10422"}}