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
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.