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
Happened to me when switching flavors.
Now you can also use the google-services.json with different flavors.
See https://stackoverflow.com/a/34364376/570168