I hope my solution will help someone. The same error message appeared for me because in two projects with authentication on Firebase I named the package the same. That is: com.company.project1 and com.company.project2 After changing the "company" for "companysecond", has the problem solved.