zoukankan      html  css  js  c++  java
  • 使用谷歌地图时报一堆错的解决方法

    错误信息类似:
    C:UsersWindowsSucksAndroidStudioProjectsMMMedsappuildintermediatesexploded-aarcom.android.supportappcompat-v721.0.0 esvalues-v11values.xml Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. C:UsersWindowsSucksAndroidStudioProjectsMMMedsappuildintermediatesexploded-aarcom.android.supportappcompat-v721.0.0 esvalues-v14values.xml Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. C:UsersWindowsSucksAndroidStudioProjectsMMMedsappuildintermediatesexploded-aarcom.android.supportappcompat-v721.0.0 esvalues-v21values.xml Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'.
    ……

    解决方法:
    将appModule的build.gradle的complie sdk修改为与android support一致即可(尽量改高,android support可使用20+这种形式)

     

  • 相关阅读:
    Mysql加锁过程详解(1)-基本知识
    Mysql加锁过程详解(5)-innodb 多版本并发控制原理详解
    java笔试题-1
    通过六个题目彻底掌握String笔试面试题
    JDBC实现往MySQL插入百万级数据
    打印变量地址-0x%08x
    cin中的注意事项
    猎豹网校C++ Primer学习笔记
    物体检测相关——学习笔记
    teraflop级、TFLOPS、TOPS
  • 原文地址:https://www.cnblogs.com/punkrocker/p/4594825.html
Copyright © 2011-2022 走看看