{"action":"created","issue":{"url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/631","repository_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal","labels_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/631/labels{/name}","comments_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/631/comments","events_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/631/events","html_url":"https://github.com/geektimecoil/react-native-onesignal/issues/631","id":359895349,"node_id":"MDU6SXNzdWUzNTk4OTUzNDk=","number":631,"title":"[Android] FAILURE: Build failed with an exception. react-native-google-analytics-bridge and react-native-onesignal not compatible","user":{"login":"retyui","id":4661784,"node_id":"MDQ6VXNlcjQ2NjE3ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4661784?v=4","gravatar_id":"","url":"https://api.github.com/users/retyui","html_url":"https://github.com/retyui","followers_url":"https://api.github.com/users/retyui/followers","following_url":"https://api.github.com/users/retyui/following{/other_user}","gists_url":"https://api.github.com/users/retyui/gists{/gist_id}","starred_url":"https://api.github.com/users/retyui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retyui/subscriptions","organizations_url":"https://api.github.com/users/retyui/orgs","repos_url":"https://api.github.com/users/retyui/repos","events_url":"https://api.github.com/users/retyui/events{/privacy}","received_events_url":"https://api.github.com/users/retyui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-13T13:26:32Z","updated_at":"2018-09-18T07:16:12Z","closed_at":null,"author_association":"NONE","body":"**Description:**\r\nI'm adding you module to mo project, by [instruction](https://documentation.onesignal.com/v5.0/docs/react-native-sdk-setup). After that `build` began to break down.\r\n\r\n**Environment**\r\nOneSignal React-Native SDK - latest version\r\n\r\n```\r\n  React Native Environment Info:\r\n    System:\r\n      OS: Linux 4.15 Linux Mint 18.3 (Sylvia)\r\n      CPU: x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz\r\n      Memory: 501.86 MB / 15.55 GB\r\n      Shell: 2.7.1 - /usr/bin/fish\r\n    Binaries:\r\n      Node: 8.12.0 - /usr/bin/node\r\n      Yarn: 1.9.4 - /usr/bin/yarn\r\n      npm: 6.4.1 - /usr/bin/npm\r\n      Watchman: 4.9.0 - /usr/local/bin/watchman\r\n    SDKs:\r\n      Android SDK:\r\n        Build Tools: 23.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.2\r\n        API Levels: 23, 25, 26, 27, 28\r\n    npmPackages:\r\n      react: ^16.5.0 => 16.5.0 \r\n      react-native: ^0.56.0 => 0.56.0 \r\n    npmGlobalPackages:\r\n      react-native-cli: 2.0.1\r\n```\r\n\r\n\r\n**Steps to Reproduce Issue:**\r\n1. `git clone https://github.com/retyui/demo-filed-build`\r\n2.  `cd demo-filed-build ;  yarn ; cd android ; ./gradlew app:assembleDebug`\r\n\r\n\r\n### All log output: \r\nhttps://gist.github.com/retyui/af0363d58ca9e676a63de6b6789f8eed\r\n### Short log output: \r\n```js\r\nException in thread \"main\" java.lang.IllegalArgumentException\r\n        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108)\r\n        at com.google.devtools.build.android.desugar.DefaultMethodClassFixer$DefaultMethodFinder.visit(DefaultMethodClassFixer.java:471)\r\n        at org.objectweb.asm.ClassReader.accept(Unknown Source)\r\n        at org.objectweb.asm.ClassReader.accept(Unknown Source)\r\n        at com.google.devtools.build.android.desugar.DefaultMethodClassFixer.defaultMethodsDefined(DefaultMethodClassFixer.java:319)\r\n        at com.google.devtools.build.android.desugar.DefaultMethodClassFixer.visitEnd(DefaultMethodClassFixer.java:88)\r\n        at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source)\r\n        at com.google.devtools.build.android.desugar.InterfaceDesugaring.visitEnd(InterfaceDesugaring.java:85)\r\n        at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source)\r\n        at com.google.devtools.build.android.desugar.LambdaDesugaring.visitEnd(LambdaDesugaring.java:150)\r\n        at org.objectweb.asm.ClassReader.accept(Unknown Source)\r\n        at org.objectweb.asm.ClassReader.accept(Unknown Source)\r\n        at com.google.devtools.build.android.desugar.Desugar.desugarClassesInInput(Desugar.java:401)\r\n        at com.google.devtools.build.android.desugar.Desugar.desugarOneInput(Desugar.java:326)\r\n        at com.google.devtools.build.android.desugar.Desugar.desugar(Desugar.java:280)\r\n        at com.google.devtools.build.android.desugar.Desugar.main(Desugar.java:584)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/comments/422281779","html_url":"https://github.com/geektimecoil/react-native-onesignal/issues/631#issuecomment-422281779","issue_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/631","id":422281779,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjI4MTc3OQ==","user":{"login":"retyui","id":4661784,"node_id":"MDQ6VXNlcjQ2NjE3ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4661784?v=4","gravatar_id":"","url":"https://api.github.com/users/retyui","html_url":"https://github.com/retyui","followers_url":"https://api.github.com/users/retyui/followers","following_url":"https://api.github.com/users/retyui/following{/other_user}","gists_url":"https://api.github.com/users/retyui/gists{/gist_id}","starred_url":"https://api.github.com/users/retyui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retyui/subscriptions","organizations_url":"https://api.github.com/users/retyui/orgs","repos_url":"https://api.github.com/users/retyui/repos","events_url":"https://api.github.com/users/retyui/events{/privacy}","received_events_url":"https://api.github.com/users/retyui/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T07:16:12Z","updated_at":"2018-09-18T07:16:12Z","author_association":"NONE","body":" @Nightsd01 \r\nI decided to check because of which library the assembly project breaks. \r\nIt turned out to be an `react-native-google-analytics-bridge`, if you exclude it from the dependent project assembly will pass without problems.\r\nHow fixed this problem? "}}
{"actor":{"display_login":"retyui"}}