{"action":"closed","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/915","repository_url":"https://api.github.com/repos/invertase/react-native-firebase","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/915/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/915/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/915/events","html_url":"https://github.com/invertase/react-native-firebase/issues/915","id":309056759,"number":915,"title":"Failed to find byte code for com/google/firebase [any unused module]","user":{"login":"IljaDaderko","id":3154053,"avatar_url":"https://avatars2.githubusercontent.com/u/3154053?v=4","gravatar_id":"","url":"https://api.github.com/users/IljaDaderko","html_url":"https://github.com/IljaDaderko","followers_url":"https://api.github.com/users/IljaDaderko/followers","following_url":"https://api.github.com/users/IljaDaderko/following{/other_user}","gists_url":"https://api.github.com/users/IljaDaderko/gists{/gist_id}","starred_url":"https://api.github.com/users/IljaDaderko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IljaDaderko/subscriptions","organizations_url":"https://api.github.com/users/IljaDaderko/orgs","repos_url":"https://api.github.com/users/IljaDaderko/repos","events_url":"https://api.github.com/users/IljaDaderko/events{/privacy}","received_events_url":"https://api.github.com/users/IljaDaderko/received_events","type":"User","site_admin":false},"labels":[{"id":565970758,"url":"https://api.github.com/repos/invertase/react-native-firebase/labels/android","name":"android","color":"c2e0c6","default":false},{"id":647197997,"url":"https://api.github.com/repos/invertase/react-native-firebase/labels/build","name":"build","color":"e99695","default":false},{"id":653843083,"url":"https://api.github.com/repos/invertase/react-native-firebase/labels/investigate","name":"investigate","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-27T17:10:07Z","updated_at":"2018-03-28T16:33:03Z","closed_at":"2018-03-28T16:33:03Z","author_association":"NONE","body":"<!---\r\nBEFORE YOU MAKE AN ISSUE\r\n\r\nThe issue list of this repo is exclusively for bug reports.\r\n\r\n1) For feature requests, please use our Canny board: https://react-native-firebase.canny.io/feature-requests\r\n\r\n2) For questions and support please use our Discord chat: https://discord.gg/C9aK28N or Stack Overflow: https://stackoverflow.com/questions/tagged/react-native-firebase\r\n\r\n3) If this is a setup issue then please make sure you've correctly followed the setup guides, most setup issues such as 'duplicate dex files', 'default app has not been initialized' etc are all down to an incorrect setup as the guides haven't been correctly followed.\r\n-->\r\n\r\n### Issue\r\n\r\nI upgraded to android studio 3.1 today and gradle 3.1 that came out and started getting these errors\r\n\r\n> Failed to find byte code for com/google/android/gms/ads/VideoController$VideoLifecycleCallbacks\r\n\r\n> Failed to find byte code for com/google/firebase/storage/StreamDownloadTask$StreamProcessor\r\n\r\n> Failed to find byte code for com/google/firebase/database/ChildEventListener\r\n\r\netc... all of these are firebase modules I currently don't use in my project i.e I don't have anything like \r\n\r\n```gradle\r\ncompile 'com.google.firebase:firebase-database:11.8.0'\r\n```\r\nin my `app/build.gradle` as I don't use it. I also submitted a question at stack overflow regarding this: https://stackoverflow.com/questions/49518556/failed-to-find-byte-code-for-com-google-firebase\r\n\r\nWhere they suggested to actually include any erorring modules and this does indeed fix the issue, but I had to add a ton of them, which I don't think is necessary?\r\n\r\nFact that this happens to almost all firebase dependencies that I don't use and can only assume are used in RNFirebase I think this is an issue?\r\n\r\n<!--- Please write your issue here, provide as much detail as you can, code snippets, key files which will help us to debug such as your `Podfile` and/or `app/build.gradle` file). -->\r\n\r\n### Environment\r\n\r\n<!--- (e.g. iOS, Android, Both) --->\r\n\r\n1. Application Target Platform: Android\r\n\r\n<!--- (e.g. macOS Sierra, Windows 10) --->\r\n\r\n2. Development Operating System: macOS High Siera\r\n\r\n<!--- (Xcode or Android Studio version, iOS or Android SDK version - if relevant) --->\r\n\r\n3. Build Tools: Android Studio 3.1, Android SDK 26, com.android.tools.build:gradle:3.1.0\r\n\r\n<!--- (e.g. 0.45.1) --->\r\n\r\n4. React Native version: 0.54.3\r\n\r\n<!--- (e.g. 2.1.3) --->\r\n\r\n5. RNFirebase Version: 3.3.1\r\n\r\n<!--- (e.g. database, auth, messaging, analytics etc - or N/A if not applicable) --->\r\n\r\n6. Firebase Module: Any unused module\r\n\r\n<!-- Love react-native-firebase? Please consider supporting our collective:\r\n👉  https://opencollective.com/react-native-firebase/donate -->\r\n"}}
{"actor":{"display_login":"chrisbianca"}}