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
I meet the problem when using Firebase, i think different package cause the problem.
I solved by adding packeage of new app within Firebase Console, and download google-services.json again.
Both times when you write the package name : 1. When you create a new project in Android Studio and 2. When you create a Configuration File
YOU should write it with lowercase letters - after changing to lowercase it works. If you don't want to waste time just go to you .json file and replace com.myname.MyAPPlicationnamE with com.myname.myapplicationname (for every match in the json file).
In my case, I just had to do
It all then went fine. I still have no clue what happened.
"client": [
{
"client_info": {
"mobilesdk_app_id": "9:99999999:android:9ccdbb6c1ae659b8",
"android_client_info": {
"package_name": "[packagename]"
}
}
package_name
must match what's in your manifest file. you can find the google-services.json
file if you look in the example photo below.
your google-services.json package name must match your build.gradle applicationId (applicationId "your package name")
if you run the other type of build(for example sign apk or etc), you must select app type of build then run the projects.
please seen the following image. for run this project we must select "app" in run configuration popup.