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

后端 未结 5 1485
旧时难觅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:31

    In my case it solved my problem

          ...  
     "client": [
            {
              "client_info": {
                "mobilesdk_app_id": "yourid",
                "android_client_info": {
                  "package_name": "ru.example.app"
                }
              },
           ...
    

    package_name should be same as in applicationId

            defaultConfig {
                    applicationId "ru.example.app"
                    minSdkVersion 15
                    targetSdkVersion 23
                    ...
        }
    

提交回复
热议问题