{"action":"created","issue":{"url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/341","repository_url":"https://api.github.com/repos/rt2zz/react-native-contacts","labels_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/341/comments","events_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/341/events","html_url":"https://github.com/rt2zz/react-native-contacts/issues/341","id":391077647,"node_id":"MDU6SXNzdWUzOTEwNzc2NDc=","number":341,"title":"Could not find method google() for arguments [] on repository ","user":{"login":"krishna201","id":11327336,"node_id":"MDQ6VXNlcjExMzI3MzM2","avatar_url":"https://avatars0.githubusercontent.com/u/11327336?v=4","gravatar_id":"","url":"https://api.github.com/users/krishna201","html_url":"https://github.com/krishna201","followers_url":"https://api.github.com/users/krishna201/followers","following_url":"https://api.github.com/users/krishna201/following{/other_user}","gists_url":"https://api.github.com/users/krishna201/gists{/gist_id}","starred_url":"https://api.github.com/users/krishna201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishna201/subscriptions","organizations_url":"https://api.github.com/users/krishna201/orgs","repos_url":"https://api.github.com/users/krishna201/repos","events_url":"https://api.github.com/users/krishna201/events{/privacy}","received_events_url":"https://api.github.com/users/krishna201/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-14T11:41:19Z","updated_at":"2018-12-18T13:02:28Z","closed_at":null,"author_association":"NONE","body":"* What went wrong:\r\nA problem occurred evaluating project ':react-native-contacts'.\r\n> Could not find method google() for arguments [] on repository container of type org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.\r\n\r\nPlease help to resolve the issue."},"comment":{"url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/comments/448213327","html_url":"https://github.com/rt2zz/react-native-contacts/issues/341#issuecomment-448213327","issue_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/341","id":448213327,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODIxMzMyNw==","user":{"login":"vkandk","id":16906695,"node_id":"MDQ6VXNlcjE2OTA2Njk1","avatar_url":"https://avatars3.githubusercontent.com/u/16906695?v=4","gravatar_id":"","url":"https://api.github.com/users/vkandk","html_url":"https://github.com/vkandk","followers_url":"https://api.github.com/users/vkandk/followers","following_url":"https://api.github.com/users/vkandk/following{/other_user}","gists_url":"https://api.github.com/users/vkandk/gists{/gist_id}","starred_url":"https://api.github.com/users/vkandk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkandk/subscriptions","organizations_url":"https://api.github.com/users/vkandk/orgs","repos_url":"https://api.github.com/users/vkandk/repos","events_url":"https://api.github.com/users/vkandk/events{/privacy}","received_events_url":"https://api.github.com/users/vkandk/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T13:02:28Z","updated_at":"2018-12-18T13:02:28Z","author_association":"NONE","body":"@krishna201  add google() to ./<project-name>/android/build.gradle\r\n\r\n// Top-level build file where you can add configuration options common to all sub-projects/modules.\r\n\r\nbuildscript {\r\n    repositories {\r\n        google()\r\n        jcenter()\r\n        gradlePluginPortal()\r\n    }\r\n    dependencies {\r\n        classpath 'com.android.tools.build:gradle:3.2.1'\r\n\r\n        // NOTE: Do not place your application dependencies here; they belong\r\n        // in the individual module build.gradle files\r\n    }\r\n}\r\n\r\nallprojects {\r\n    repositories {\r\n        mavenLocal()\r\n        jcenter()\r\n        maven { url \"https://jitpack.io\" }\r\n        maven { url \"https://maven.google.com\" }\r\n        maven {\r\n            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm\r\n            url \"$rootDir/../node_modules/react-native/android\"\r\n        }\r\n    }\r\n}"}}
{"actor":{"display_login":"vkandk"}}