{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3115","repository_url":"https://api.github.com/repos/ionic-team/ionic-cli","labels_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3115/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3115/comments","events_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3115/events","html_url":"https://github.com/ionic-team/ionic-cli/issues/3115","id":318835127,"number":3115,"title":"I can't Release my app","user":{"login":"hsolmaz","id":38717085,"avatar_url":"https://avatars3.githubusercontent.com/u/38717085?v=4","gravatar_id":"","url":"https://api.github.com/users/hsolmaz","html_url":"https://github.com/hsolmaz","followers_url":"https://api.github.com/users/hsolmaz/followers","following_url":"https://api.github.com/users/hsolmaz/following{/other_user}","gists_url":"https://api.github.com/users/hsolmaz/gists{/gist_id}","starred_url":"https://api.github.com/users/hsolmaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsolmaz/subscriptions","organizations_url":"https://api.github.com/users/hsolmaz/orgs","repos_url":"https://api.github.com/users/hsolmaz/repos","events_url":"https://api.github.com/users/hsolmaz/events{/privacy}","received_events_url":"https://api.github.com/users/hsolmaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-30T09:43:32Z","updated_at":"2018-05-01T04:35:23Z","closed_at":null,"author_association":"NONE","body":"I trying to publish my app but doesnt work\r\n\r\njava version\r\n```\r\n\r\nhuseyin-MacBook-Pro:city huseyinsolmaz$ java -version\r\njava version \"10.0.1\" 2018-04-17\r\nJava(TM) SE Runtime Environment 18.3 (build 10.0.1+10)\r\nJava HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)\r\nhuseyin-MacBook-Pro:city huseyinsolmaz$ \r\n```\r\n\r\nionic info \r\n`\r\nhuseyin-MacBook-Pro:city huseyinsolmaz$ ionic info\r\n\r\ncli packages: (/usr/local/lib/node_modules)\r\n\r\n    @ionic/cli-utils  : 1.19.2\r\n    ionic (Ionic CLI) : 3.20.0\r\n\r\nglobal packages:\r\n\r\n    cordova (Cordova CLI) : not installed\r\n    Gulp CLI              : CLI version 3.9.1 Local version 3.9.1\r\n\r\nlocal packages:\r\n\r\n    Cordova Platforms : none\r\n    Ionic Framework   : ionic1 1.3.3\r\n\r\nSystem:\r\n\r\n    Node  : v8.11.1\r\n    npm   : 5.6.0 \r\n    OS    : macOS High Sierra\r\n    Xcode : Xcode 9.3 Build version 9E145 \r\n\r\nEnvironment Variables:\r\n\r\n    ANDROID_HOME : /Development/android-sdk/\r\n\r\nMisc:\r\n\r\n    backend : pro\r\n\r\n`\r\n\r\n`\r\nhuseyin-MacBook-Pro:city huseyinsolmaz$ sudo ionic cordova build --release android\r\n> cordova platform add android --save\r\nUsing cordova-fetch for cordova-android@7.0.0\r\n\r\nAdding android project...\r\n\r\nCreating Cordova project for the Android platform:\r\n\r\n\tPath: platforms/android\r\n\tPackage: io.ionic.starter\r\n\tName: city\r\n\tActivity: MainActivity\r\n\tAndroid target: android-26\r\nSubproject Path: CordovaLib\r\nSubproject Path: app\r\nAndroid project created with cordova-android@7.0.0\r\n\r\nAndroid Studio project detected\r\n\r\nAndroid Studio project detected\r\n\r\nDiscovered plugin \"cordova-plugin-whitelist\" in config.xml. Adding it to the project\r\n\r\nInstalling \"cordova-plugin-whitelist\" for android\r\n\r\n\r\n               This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.\r\n          \r\n\r\nAdding cordova-plugin-whitelist to package.json\r\nSaved plugin info for \"cordova-plugin-whitelist\" to config.xml\r\n\r\nDiscovered plugin \"cordova-plugin-device\" in config.xml. Adding it to the project\r\n\r\nInstalling \"cordova-plugin-device\" for android\r\n\r\nAdding cordova-plugin-device to package.json\r\n\r\nSaved plugin info for \"cordova-plugin-device\" to config.xml\r\n\r\nDiscovered plugin \"cordova-plugin-splashscreen\" in config.xml. Adding it to the project\r\n\r\nInstalling \"cordova-plugin-splashscreen\" for android\r\n\r\nAdding cordova-plugin-splashscreen to package.json\r\n\r\nSaved plugin info for \"cordova-plugin-splashscreen\" to config.xml\r\n\r\nDiscovered plugin \"cordova-plugin-ionic-webview\" in config.xml. Adding it to the project\r\n\r\nInstalling \"cordova-plugin-ionic-webview\" for android\r\n\r\nAdding cordova-plugin-ionic-webview to package.json\r\n\r\nSaved plugin info for \"cordova-plugin-ionic-webview\" to config.xml\r\n\r\nDiscovered plugin \"cordova-plugin-ionic-keyboard\" in config.xml. Adding it to the project\r\n\r\nInstalling \"cordova-plugin-ionic-keyboard\" for android\r\n\r\nAdding cordova-plugin-ionic-keyboard to package.json\r\n\r\nSaved plugin info for \"cordova-plugin-ionic-keyboard\" to config.xml\r\n\r\nRunning command: /Users/huseyinsolmaz/Sites/city/hooks/after_prepare/010_add_platform_class.js /Users/huseyinsolmaz/Sites/city\r\n\r\n--save flag or autosave detected\r\n\r\nSaving android@~7.0.0 into config.xml file ...\r\n\r\n> cordova build android --release\r\nAndroid Studio project detected\r\n\r\nRunning command: /Users/huseyinsolmaz/Sites/city/hooks/after_prepare/010_add_platform_class.js /Users/huseyinsolmaz/Sites/city\r\n\r\nANDROID_HOME=/usr/local/Caskroom/android-sdk/3859397\r\nJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home\r\n(node:13133) UnhandledPromiseRejectionWarning: CordovaError: Requirements check failed for JDK 1.8 or greater\r\n    at /Users/huseyinsolmaz/Sites/city/platforms/android/cordova/lib/check_reqs.js:370:19\r\n    at _fulfilled (/Users/huseyinsolmaz/Sites/city/platforms/android/cordova/node_modules/q/q.js:854:54)\r\n    at self.promiseDispatch.done (/Users/huseyinsolmaz/Sites/city/platforms/android/cordova/node_modules/q/q.js:883:30)\r\n    at Promise.promise.promiseDispatch (/Users/huseyinsolmaz/Sites/city/platforms/android/cordova/node_modules/q/q.js:816:13)\r\n    at /Users/huseyinsolmaz/Sites/city/platforms/android/cordova/node_modules/q/q.js:624:44\r\n    at runSingle (/Users/huseyinsolmaz/Sites/city/platforms/android/cordova/node_modules/q/q.js:137:13)\r\n    at flush (/Users/huseyinsolmaz/Sites/city/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:13133) 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:13133) [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\n`"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/comments/385597210","html_url":"https://github.com/ionic-team/ionic-cli/issues/3115#issuecomment-385597210","issue_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/3115","id":385597210,"user":{"login":"ghenry22","id":7463213,"avatar_url":"https://avatars3.githubusercontent.com/u/7463213?v=4","gravatar_id":"","url":"https://api.github.com/users/ghenry22","html_url":"https://github.com/ghenry22","followers_url":"https://api.github.com/users/ghenry22/followers","following_url":"https://api.github.com/users/ghenry22/following{/other_user}","gists_url":"https://api.github.com/users/ghenry22/gists{/gist_id}","starred_url":"https://api.github.com/users/ghenry22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghenry22/subscriptions","organizations_url":"https://api.github.com/users/ghenry22/orgs","repos_url":"https://api.github.com/users/ghenry22/repos","events_url":"https://api.github.com/users/ghenry22/events{/privacy}","received_events_url":"https://api.github.com/users/ghenry22/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T04:35:23Z","updated_at":"2018-05-01T04:35:23Z","author_association":"NONE","body":"@dwieeb looks like the version check breaks with new java 10 versioning:\r\n`/jdk-10.0.1.jdk` is greater than 1.8"}}
{"actor":{"display_login":"ghenry22"}}