Android Studio Gradle: Error:Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package

后端 未结 25 1474
清酒与你
清酒与你 2020-12-04 11:53

I am trying to upgrade my google play services dependencies to 8.4.0 by following the example Google gives here, but I am getting the following error (\'com.example.examplea

25条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 12:17

    If this happened to you after renaming your application package name, then you need to update the following:

    1)google-services.json file in your application by looking up in the file for "package_name" attribute and update it with the new package name.

    2)Update your application client Credentials in Google Developers Console by going to the Credentials and selecting your android client key then update the package name as well with the new one.

    Hope this will help.

提交回复
热议问题