{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-linear-gradient/issues/339","repository_url":"https://api.github.com/repos/react-native-community/react-native-linear-gradient","labels_url":"https://api.github.com/repos/react-native-community/react-native-linear-gradient/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-linear-gradient/issues/339/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-linear-gradient/issues/339/events","html_url":"https://github.com/react-native-community/react-native-linear-gradient/issues/339","id":355623595,"node_id":"MDU6SXNzdWUzNTU2MjM1OTU=","number":339,"title":"Build failed when running react-native run-android","user":{"login":"stacheski","id":14354806,"node_id":"MDQ6VXNlcjE0MzU0ODA2","avatar_url":"https://avatars0.githubusercontent.com/u/14354806?v=4","gravatar_id":"","url":"https://api.github.com/users/stacheski","html_url":"https://github.com/stacheski","followers_url":"https://api.github.com/users/stacheski/followers","following_url":"https://api.github.com/users/stacheski/following{/other_user}","gists_url":"https://api.github.com/users/stacheski/gists{/gist_id}","starred_url":"https://api.github.com/users/stacheski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stacheski/subscriptions","organizations_url":"https://api.github.com/users/stacheski/orgs","repos_url":"https://api.github.com/users/stacheski/repos","events_url":"https://api.github.com/users/stacheski/events{/privacy}","received_events_url":"https://api.github.com/users/stacheski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-30T14:55:34Z","updated_at":"2018-10-24T21:19:48Z","closed_at":"2018-09-04T19:51:14Z","author_association":"NONE","body":"When i run react-native run-android i get this error:\r\n\r\n> FAILURE: Build failed with an exception.\r\n> * Where:\r\n> Build file '/lc_app/node_modules/react-native-linear-gradient/android/build.gradle' line: 21\r\n\r\n> * What went wrong:\r\n> A problem occurred evaluating project ':react-native-linear-gradient'.\r\n> Could not find method compileOnly() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. <\r\n\r\nWhat should i do??\r\n\r\nI did the install and the link."},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-linear-gradient/issues/comments/432832136","html_url":"https://github.com/react-native-community/react-native-linear-gradient/issues/339#issuecomment-432832136","issue_url":"https://api.github.com/repos/react-native-community/react-native-linear-gradient/issues/339","id":432832136,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjgzMjEzNg==","user":{"login":"leticiamrosa","id":20244584,"node_id":"MDQ6VXNlcjIwMjQ0NTg0","avatar_url":"https://avatars2.githubusercontent.com/u/20244584?v=4","gravatar_id":"","url":"https://api.github.com/users/leticiamrosa","html_url":"https://github.com/leticiamrosa","followers_url":"https://api.github.com/users/leticiamrosa/followers","following_url":"https://api.github.com/users/leticiamrosa/following{/other_user}","gists_url":"https://api.github.com/users/leticiamrosa/gists{/gist_id}","starred_url":"https://api.github.com/users/leticiamrosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leticiamrosa/subscriptions","organizations_url":"https://api.github.com/users/leticiamrosa/orgs","repos_url":"https://api.github.com/users/leticiamrosa/repos","events_url":"https://api.github.com/users/leticiamrosa/events{/privacy}","received_events_url":"https://api.github.com/users/leticiamrosa/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T21:19:48Z","updated_at":"2018-10-24T21:19:48Z","author_association":"NONE","body":"It`s work for me too\r\n    \"react-native\": \"0.55.4\",\r\n    \"react-native-linear-gradient\": \"^2.4.0\",\r\n\r\ntry to : \r\n`npm install react-native-linear-gradient@2.4.0 --save`"}}
{"actor":{"display_login":"leticiamrosa"}}