Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

google-play-services_lib rev29 causes resource not found. #26

Closed

Description

@stolk

After upgrading my google-play-services_lib to the latest (rev29), I now get this error when building:

[aapt] /home/bram/apps/Buggy/Android/google-play-services_lib/res/values-v21/appinvite_styles.xml:5:
error: Error retrieving parent for item: No resource found that matches the given name 
 '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.

I tried setting AndroidManifest.xml's android:targetSdkVersion to 21, to no avail.

I tried setting project.properties target=android-21, to no avail.

Moving to older version of google-play-services_lib fixes this issue.

Activity

  1. claywilkinson commented on Dec 21, 2016

    @claywilkinson
    Contributor

    I believe this was a bad version of 21, using <21 > 21 should work fine. Alternatively, you can copy the style out of a project using the more recent tools and copy it into your project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions