WAI
Status Update
Comments
ku...@google.com <ku...@google.com>
ku...@google.com <ku...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Steps to reproduce
Please provide source code or apk of a sample application to reproduce the issue.
Also kindly mention the steps to be followed for reproducing the issue with the given sample application.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
What is the expected output?
Current output
What is the current output?
Steps to reproduce
Please provide source code or apk of a sample application to reproduce the issue.
Also kindly mention the steps to be followed for reproducing the issue with the given sample application.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
What is the expected output?
Current output
What is the current output?
ed...@gmail.com <ed...@gmail.com> #3
Steps to reproduce
Source code:https://github.com/Chan4077/StudyBuddy/tree/repro/support-library-27-1-0 (For reproduction)
1. Clone the project from the above link
2. Open the project in Android Studio
3. Click on the "Sync now" link that shows when the build.gradle file has been modified.
4. There should only be a warning when compiled.
5. Connect a physical device to the computer (optional).
6. Press the play button and select any available device.
7. When the app gets compiled, it should stop compiling and print an error "Error:Program type already present: android.arch.lifecycle.LiveData" with a huge error log.
Frequency
100% of the time
Expected output
The app should compile
Current output
It stops compiling and prints an error "Error:Program type already present: android.arch.lifecycle.LiveData" with a huge log (https://pastebin.com/wS4nxXBu )
Source code:
1. Clone the project from the above link
2. Open the project in Android Studio
3. Click on the "Sync now" link that shows when the build.gradle file has been modified.
4. There should only be a warning when compiled.
5. Connect a physical device to the computer (optional).
6. Press the play button and select any available device.
7. When the app gets compiled, it should stop compiling and print an error "Error:Program type already present: android.arch.lifecycle.LiveData" with a huge error log.
Frequency
100% of the time
Expected output
The app should compile
Current output
It stops compiling and prints an error "Error:Program type already present: android.arch.lifecycle.LiveData" with a huge log (
ku...@google.com <ku...@google.com> #4
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
ku...@google.com <ku...@google.com> #5
Looking at the output of gradlew app:dependencies, com.firebaseui:firebase-ui-firestore:3.1.0 depends on android.arch.lifecycle:extensions:1.0.0-beta1. Switching to version 3.2.2 fixes the issue by using the Lifecycle 1.1 libraries that Support Library 27.1.0 are built upon.
es...@gmail.com <es...@gmail.com> #6
3.2.2 upgrade the databse:ui the version works for e thanks
Description
Version used: 27.1.0, (27.0.2 to downgrade)
Theme used: (What's this for?)
Devices/Android versions reproduced on: Samsung Galaxy Note 3 API 27 (LineageOS 15.1 Unofficial build) - Android O_MR1 / Nexus 5X API 26 - Android O (Android Emulator)
- Relevant code to trigger the issue:
When I use version 27.1.0 of the Android Support Library, I get an error when compiling my app:
Error:Program type already present: android.arch.lifecycle.LiveData
However, when I downgrade the Android Support Library to version 27.0.2 (as per this [workaround](