-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync Project error - Execution failed for task ‘:marvel-app:processMockDebugGoogleServices’. #2
Comments
Dear Jorge, Sorry for late answer,
This is something from FireBase service, you have to start a new project for yourself and replace this file with yours.
… On 3 Mar 2017, at 7:12 PM, Jorge Casariego ***@***.***> wrote:
When I tried to sync my project after configure all my grades files I have this error:
Error:Execution failed for task ‘:marvel-app:processMockDebugGoogleServices’.
No matching client found for package name ‘test.marvel.debug’
I don’t know if I need to configure something on developers.google.com
I’m seeing that your google-service.json has this part that I don’t have
"client_info": {
"mobilesdk_app_id": "1:917870933295:android:f40c157f10d0958b",
"android_client_info": {
"package_name": "com.mirhoseini.marvel.debug"
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#2>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AE5cr5oUDagIG36ZtyipGUMEwd1X_3VPks5riFgMgaJpZM4MSkw2>.
|
Hi @mmirhoseini, I already create an account in Firebase and generated the file google-service.json, after that, I downloaded the file, I replaced yours with mine but does not generate the part where it has the "package.name.debug". The first part was generated without problem. I don't know if I have to configure something else in Firebase to generate the debug part. Thanks, you did an awesome project |
You have to create two app, one with .debug at the end of package name and one without,
or remove this from build.gradle:
applicationIdSuffix '.debug'
… On 8 Mar 2017, at 2:31 PM, Jorge Casariego ***@***.***> wrote:
Hi @mmirhoseini <https://github.com/mmirhoseini>,
I already create an account in Firebase and generated the file google-service.json, after that, I downloaded the file, I replaced yours with mine but does not generate the part where it has the "package.name.debug". The first part was generated without problem.
I don't know if I have to configure something else in Firebase to generate the debug part. Thanks, you did an awesome project
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#2 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AE5crxenZ4ybyYMOWFj_Tvki_u2VLcnyks5rjq2wgaJpZM4MSkw2>.
|
Yes! You had direct me to the right way. I have found a great article on Firebase about my problem. For anybody who has the same question can read here about this: Organizing your Firebase-enabled Android app builds |
When I tried to sync my project after configure all my grades files I have this error:
I don’t know if I need to configure something on developers.google.com
I’m seeing that your google-service.json has this part that I don’t have
Edit
To hide the error I added your id's. This part of the code I added to my project :(
The text was updated successfully, but these errors were encountered: