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

No resource found error for com.google.android.gms:play-services-ads:7.5.0 in android studio 1.3 #17

Closed
amrut8winjit opened this issue Jul 14, 2015 · 4 comments

Comments

@amrut8winjit
Copy link

E:\Shared_Folder\Sample Projects and Libraries\googleads-mobile-android-examples-master\admob\NativeExample\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.5.0\res\drawable\common_signin_btn_icon_light.xml

Error:(10, 28) No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_icon_disabled_focus_light').

E:\Shared_Folder\Sample Projects and Libraries\googleads-mobile-android-examples-master\admob\NativeExample\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.5.0\res\drawable\common_signin_btn_text_light.xml

Error:(10, 28) No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_text_disabled_focus_light').

Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\ANDROID-DEV\AndroidStudioSDK\build-tools\22.0.0\aapt.exe'' finished with non-zero exit value 1

while using sample app for admob native example, above error is showing. I'm unable to edit the resource as well. What can be the solution for this? i have used latest version of play services ads 7.5.0.

compile 'com.google.android.gms:play-services-base:7.5.0'
compile 'com.google.android.gms:play-services-ads:7.5.0'

Please help to resolve this problem.

@RedBrogdon
Copy link
Contributor

What variant of Android Studio 1.3 are you using (beta, canary, etc.), and do you have this issue when building with the current stable release?

@CongBaDo
Copy link

You can update it to
compile 'com.google.android.gms:play-services-base:7.8.0'
compile 'com.google.android.gms:play-services-ads:7.8.0'
to fix it.

@amrut8winjit
Copy link
Author

I have now tried using

    compile 'com.google.android.gms:play-services-base:7.8.0'
    compile 'com.google.android.gms:play-services-ads:7.8.0'

to fix it.
But still Im getting below error:

  E:\Shared_Folder\Sample Projects and Libraries\googleads-mobile-android-examples-master\admob\NativeExample\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.8.0\res\drawable\common_signin_btn_icon_light.xml
  Error:(10, 28) No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_icon_disabled_focus_light').
  E:\Shared_Folder\Sample Projects and Libraries\googleads-mobile-android-examples-master\admob\NativeExample\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.8.0\res\drawable\common_signin_btn_text_light.xml
  Error:(10, 28) No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_text_disabled_focus_light').
  Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\ANDROID-DEV\AndroidStudioSDK\build-tools\23.0.0\aapt.exe'' finished with non-zero exit value 1

@amrut8winjit
Copy link
Author

I was able to fix it using only this:

compile 'com.google.android.gms:play-services-ads:8.3.0'

instead of this :

compile 'com.google.android.gms:play-services-base:7.8.0'
compile 'com.google.android.gms:play-services-ads:7.8.0'

Thanks.

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

3 participants