Execution failed for task ':app:processReleaseGoogleServices'. > No matching client found for package name

后端 未结 5 1503
旧时难觅i
旧时难觅i 2021-01-12 04:09

Anytime I try to build my project I keep getting this error:

Execution failed for task \':app:processReleaseGoogleServices\'.
No matching client found for pa         


        
5条回答
  •  悲&欢浪女
    2021-01-12 04:20

    Probably a bit late but I had a similar problem.

    It occurred when I initially connected my app to Firebase analytics for some reason it only picked up my "debug" flavor.

    I had to log into Firebase, go to the console and select the relevant project and then manually add the additional "release" flavor.

    Then I reconnected to Firebase in Android Studio (which automatically updated and downloaded the json file from Firebase into Studio), re-compiled my app and it worked.

提交回复
热议问题