Google Play服务更新后的Project ActionBar错误

时间:2015-12-19 09:03:36

标签: android android-actionbar

更新Google Play服务后出现以下错误:

[2015-12-19 10:58:19 - google-play-services_lib] C:\Tools\Android\sdk_24\extras\google\google_play_services\libproject\google-play-services_lib\res\values-v11\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.DialogWhenLarge.NoActionBar'.
[2015-12-19 10:58:19 - google-play-services_lib] C:\Tools\Android\sdk_24\extras\google\google_play_services\libproject\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'.

Styles.xml:

<resources>

<!--
    Base application theme, dependent on API level. This theme is replaced
    by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
    <!--
        Theme customizations available in newer API levels can go in
        res/values-vXX/styles.xml, while customizations related to
        backward-compatibility can go here.
    -->
</style>

<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
    <!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>

我已经导入了appcompat_v7。在谷歌播放服务导入之前一切正常。

2 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,只有我在google代码组中找到的才能转移到旧的lib版本

答案 1 :(得分:0)

不再需要更新任何内容!