Android Question Firebase UI Auth - Activity Not Found Exception

Jack Cole

Well-Known Member
Licensed User
Longtime User
I'm trying to use this library for auth. I have started with the example app. It has an error after the authorization appears to succeed. It is configured to use SDK level 28. Any ideas?

android.content.ActivityNotFoundException: Unable to find explicit activity class {mobi.mindware.treatment/com.firebase.ui.auth.ui.idp.WelcomeBackIdpPrompt}; have you declared this activity in your AndroidManifest.xml?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2016)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1673)
at android.app.Activity.startActivityForResult(Activity.java:4688)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:767)
at android.app.Activity.startActivityForResult(Activity.java:4646)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:754)
at com.firebase.ui.auth.ui.email.EmailActivity.onExistingIdpUser(EmailActivity.java:97)
at com.firebase.ui.auth.ui.email.CheckEmailFragment$1.onSuccess(CheckEmailFragment.java:129)
at com.firebase.ui.auth.ui.email.CheckEmailFragment$1.onSuccess(CheckEmailFragment.java:113)
at com.firebase.ui.auth.viewmodel.ResourceObserver.onChanged(ResourceObserver.java:45)
at com.firebase.ui.auth.viewmodel.ResourceObserver.onChanged(ResourceObserver.java:14)
at android.arch.lifecycle.LiveData.considerNotify(LiveData.java:109)
at android.arch.lifecycle.LiveData.dispatchingValue(LiveData.java:126)
at android.arch.lifecycle.LiveData.setValue(LiveData.java:282)
at android.arch.lifecycle.MutableLiveData.setValue(MutableLiveData.java:33)
at com.firebase.ui.auth.viewmodel.OperableViewModel.setResult(OperableViewModel.java:24)
at com.firebase.ui.auth.ui.email.CheckEmailHandler.access$200(CheckEmailHandler.java:22)
at com.firebase.ui.auth.ui.email.CheckEmailHandler$2.onComplete(CheckEmailHandler.java:62)
at com.google.android.gms.tasks.zzj.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:6981)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445)
 

DonManfred

Expert
Licensed User
Longtime User
Have you added the manifest code`?
 
Upvote 0
Top