Skip to content
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

Error:Execution failed for task ':app:mergeDebugResources'. #64

Open
mnarasimhan02 opened this issue Oct 23, 2016 · 0 comments
Open

Error:Execution failed for task ':app:mergeDebugResources'. #64

mnarasimhan02 opened this issue Oct 23, 2016 · 0 comments

Comments

@mnarasimhan02
Copy link

When trying to connect/register my Android app with GCM, I receive the following error during build
Error:Execution failed for task ':app:mergeDebugResources'.

[string/gcm_defaultSenderId] C:\Users\AndroidStudioProjects\Advanced_Android_Development\app\src\main\res\values\strings.xml [string/gcm_defaultSenderId] C:\Users\AndroidStudioProjects\Advanced_Android_Development\app\build\generated\res\google-services\debug\values\values.xml: Error: Duplicate resources

When I verified both the files,I noticed that the only commonality is gcm_defaultSenderId attribute present in both the files. The gcm_defaultSenderid needs to be changed in strings.xml to correctly build the package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant