Android 我在安卓工作室做谷歌地图,但编译的时候。日志显示了这个错误

Android 我在安卓工作室做谷歌地图,但编译的时候。日志显示了这个错误,android,android-appcompat,android-styles,Android,Android Appcompat,Android Styles,总计121个错误显示。其保持重复错误。其他错误几乎与这两个相同 D:\Android\SCBG\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.1\res\values-ldltr-v21\values-ldltr-v21.xml Error:(2) Error retrieving parent for item: No resource found that matches the give

总计121个错误显示。其保持重复错误。其他错误几乎与这两个相同

D:\Android\SCBG\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.1\res\values-ldltr-v21\values-ldltr-v21.xml
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner.Underlined'.

它与谷歌地图无关,它与你的样式无关。检查你的样式是因为使用了不同版本的支持库。@PunitSharma什么是样式。如何改变它。对不起,我是android studio的初学者。可以帮我吗?粘贴你的build.gradle依赖项部分这可能会对你有所帮助
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- From: file:/usr/local/google/buildbot/src/googleplex-android/mnc-supportlib-release/frameworks/support/v7/appcompat/res/values-ldltr-v21/styles_base.xml -->
    <eat-comment/>
    <style name="Base.Widget.AppCompat.Spinner.Underlined" parent="android:Widget.Material.Spinner.Underlined"/>
</resources>
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'



        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}