App not running - unable to initiate activity (Fatal Exception: main)

Viewed 25

I have the same app in Android Studio on two devices. On one laptop everything works perfectly, but on the other one, I can't run the app, although the code is identical. I have spotted only one difference in the google services json file: in this case my app works

In the second case, the json file looks a bit different: here it doesn't work and I don't have the the package name in the "oauth_client"

When I press on debug, I get the following: enter image description here

I tried downloading the json file again from firebase, cleaning and rebuilding the project, but nothing worked on my second device. Does anyone know how to deal with this?

0 Answers
Related