Yes
After migrating to AndroidX Auth UI not working anymore
java.lang.IncompatibleClassChangeError: Class 'com.firebase.ui.auth.KickoffActivity' does not implement interface 'androidx.lifecycle.LifecycleOwner' in call to 'androidx.lifecycle.Lifecycle androidx.lifecycle.LifecycleOwner.getLifecycle()' (declaration of 'androidx.lifecycle.LiveData' appears in /data/app/
Showing Auth UI interface
```
List
new AuthUI.IdpConfig.EmailBuilder().build(),
new AuthUI.IdpConfig.GoogleBuilder().build(),
new AuthUI.IdpConfig.FacebookBuilder().build());
// Create and launch sign-in intent
startActivityForResult(
AuthUI.getInstance()
.createSignInIntentBuilder()
.setAvailableProviders(providers)
.build(),
RC_SIGN_IN);
```
This looks to be the same as in #1274 , can you see if any of my suggestions there help you?
Yes I followed all of this before, It's still not working. I'm using this version of lifecycle:
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
I had somewhat similar issue and commenting out/removing implementation 'androidx.core:core:1.1.0-alpha02' solved it for me.
@ashwanibhatt Thanks a lot, You can't imagine how much this comment helped me.
Thanks @ashwanibhatt !!
I had somewhat similar issue and commenting out/removing
implementation 'androidx.core:core:1.1.0-alpha02'solved it for me.
This Worked !!! Thanks so so much buddy
@ashwanibhatt902 But I need this lib androidx.core: core for my project.
I fixed it.
https://stackoverflow.com/questions/53899751/google-auth-migrating-to-androidx-signinhubactivity-does-not-implement-lifecycl
Many thanks to @bullest. Next line fixed it for me:
implementation "androidx.appcompat:appcompat:1.1.0-beta01"
Most helpful comment
I had somewhat similar issue and commenting out/removing
implementation 'androidx.core:core:1.1.0-alpha02'solved it for me.