{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9637","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9637/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9637/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9637/events","html_url":"https://github.com/facebook/react-native/issues/9637","id":173792375,"number":9637,"title":"Error with react-native run-android for gradle version gradle-2.4-all.zip","user":{"login":"preetb123","id":4496555,"avatar_url":"https://avatars.githubusercontent.com/u/4496555?v=3","gravatar_id":"","url":"https://api.github.com/users/preetb123","html_url":"https://github.com/preetb123","followers_url":"https://api.github.com/users/preetb123/followers","following_url":"https://api.github.com/users/preetb123/following{/other_user}","gists_url":"https://api.github.com/users/preetb123/gists{/gist_id}","starred_url":"https://api.github.com/users/preetb123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preetb123/subscriptions","organizations_url":"https://api.github.com/users/preetb123/orgs","repos_url":"https://api.github.com/users/preetb123/repos","events_url":"https://api.github.com/users/preetb123/events{/privacy}","received_events_url":"https://api.github.com/users/preetb123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T14:48:26Z","updated_at":"2016-12-16T18:11:20Z","closed_at":null,"body":"Getting following error in every project that has `distributionUrl=https\\://services.gradle.org/distributions/gradle-2.4-all.zip` in `android/gradle/wrapper/gradle-wrapper.properties`. When i change the gradle version to `gradle-2.2.1-all.zip`, everything works fine.\n\n```\n$ react-native run-android\nStarting JS server...\nBuilding and installing the app on the device (cd android && ./gradlew installDebug...\nException in thread \"main\" java.lang.NullPointerException\n    at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:34)\n    at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:25)\n    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)\n    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)\nCould not install the app on the device, read the error above for details.\nMake sure you have an Android emulator running or a device connected and have\nset up your Android development environment:\nhttps://facebook.github.io/react-native/docs/android-setup.html\n```\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/267658973","html_url":"https://github.com/facebook/react-native/issues/9637#issuecomment-267658973","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9637","id":267658973,"user":{"login":"sunnyraz","id":16091054,"avatar_url":"https://avatars.githubusercontent.com/u/16091054?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnyraz","html_url":"https://github.com/sunnyraz","followers_url":"https://api.github.com/users/sunnyraz/followers","following_url":"https://api.github.com/users/sunnyraz/following{/other_user}","gists_url":"https://api.github.com/users/sunnyraz/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyraz/subscriptions","organizations_url":"https://api.github.com/users/sunnyraz/orgs","repos_url":"https://api.github.com/users/sunnyraz/repos","events_url":"https://api.github.com/users/sunnyraz/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyraz/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T18:11:20Z","updated_at":"2016-12-16T18:11:20Z","body":"I have tried bt it does not working for me."}}
{"actor":{"display_login":"sunnyraz"}}