{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/17688","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/17688/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/17688/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/17688/events","html_url":"https://github.com/facebook/react-native/issues/17688","id":290278188,"node_id":"MDU6SXNzdWUyOTAyNzgxODg=","number":17688,"title":"Could not determine java version from '9.0.4'.","user":{"login":"pankaja92","id":7170183,"node_id":"MDQ6VXNlcjcxNzAxODM=","avatar_url":"https://avatars2.githubusercontent.com/u/7170183?v=4","gravatar_id":"","url":"https://api.github.com/users/pankaja92","html_url":"https://github.com/pankaja92","followers_url":"https://api.github.com/users/pankaja92/followers","following_url":"https://api.github.com/users/pankaja92/following{/other_user}","gists_url":"https://api.github.com/users/pankaja92/gists{/gist_id}","starred_url":"https://api.github.com/users/pankaja92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pankaja92/subscriptions","organizations_url":"https://api.github.com/users/pankaja92/orgs","repos_url":"https://api.github.com/users/pankaja92/repos","events_url":"https://api.github.com/users/pankaja92/events{/privacy}","received_events_url":"https://api.github.com/users/pankaja92/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2018-01-21T14:47:41Z","updated_at":"2018-07-16T12:10:30Z","closed_at":"2018-01-25T01:13:43Z","author_association":"NONE","body":"### Is this a bug report?\r\n\r\nYes\r\n\r\n### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)?\r\n\r\nYes\r\n\r\n### Environment\r\n\r\nEnvironment:\r\n  OS: Linux 4.13\r\n  Node: 9.4.0\r\n  Yarn: Not Found\r\n  npm: 4.6.1\r\n  Watchman: Not Found\r\n  Xcode: N/A\r\n  Android Studio: 3.0 AI-171.4443003\r\n\r\nPackages: (wanted => installed)\r\n  react: 16.2.0 => 16.2.0\r\n  react-native: 0.52.0 => 0.52.0\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. Plugged an Android phone, enabled developer mode and debugging and confirmed that adb is recognised the device by running `adb devices`\r\n2. Followed the official [docs](https://facebook.github.io/react-native/docs/getting-started.html) and created a react-native app called `AwesomeProject` using `react-native init AwesomeProject` command.\r\n3. Changed the directory to inside the project and ran `react-native run-android`\r\n\r\n### Expected Behavior\r\n\r\nStart the AwesomeProject in connected Android Device.\r\n\r\n### Actual Behavior\r\n\r\nDidn't start the app on my mobile. Error on console appeared.\r\n\r\n```\r\nScanning folders for symlinks in /home/pankaja/Documents/Projects/react-native/AwesomeProject/node_modules (7ms)\r\nStarting JS server...\r\nBuilding and installing the app on the device (cd android && ./gradlew installDebug)...\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nCould not determine java version from '9.0.4'.\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\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\r\n^C\r\npankaja@pankaja-HP-Pavilion-15-Notebook-PC:~/Documents/Projects/react-native/AwesomeProject$ react-native info\r\n```\r\n\r\n[Screenshot](https://image.ibb.co/ejOjpG/Screenshot_from_2018_01_21_20_13_08.png)\r\n\r\n### Reproducible Demo\r\n\r\n```\r\nreact-native init AwesomeProject\r\ncd AwesomeProject\r\nreact-native run-android\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/405227207","html_url":"https://github.com/facebook/react-native/issues/17688#issuecomment-405227207","issue_url":"https://api.github.com/repos/facebook/react-native/issues/17688","id":405227207,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTIyNzIwNw==","user":{"login":"dooboolab","id":27461460,"node_id":"MDQ6VXNlcjI3NDYxNDYw","avatar_url":"https://avatars0.githubusercontent.com/u/27461460?v=4","gravatar_id":"","url":"https://api.github.com/users/dooboolab","html_url":"https://github.com/dooboolab","followers_url":"https://api.github.com/users/dooboolab/followers","following_url":"https://api.github.com/users/dooboolab/following{/other_user}","gists_url":"https://api.github.com/users/dooboolab/gists{/gist_id}","starred_url":"https://api.github.com/users/dooboolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dooboolab/subscriptions","organizations_url":"https://api.github.com/users/dooboolab/orgs","repos_url":"https://api.github.com/users/dooboolab/repos","events_url":"https://api.github.com/users/dooboolab/events{/privacy}","received_events_url":"https://api.github.com/users/dooboolab/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T12:10:29Z","updated_at":"2018-07-16T12:10:29Z","author_association":"NONE","body":"@Blacktoviche But then, we need to upgrade all the gradle for every repository that is not using gradle 4 before actually editing the code..."}}
{"actor":{"display_login":"dooboolab"}}