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+这种形式)

     

  • 相关阅读:
    跨期套利策略
    读书笔记 量化交易:如何建立自己的算法交易事业
    ESP8266固件修改可以控制多个IO方法
    ESP8266固件烧录方法
    关于毕设WiFi选型
    关于(x&y)+((x^y)>>1)的探究
    QML添加右键菜单
    初学QML之QML和C++混合方法
    初学QML之qmlRegisterType
    我的第一个QML Button的实现
  • 原文地址:https://www.cnblogs.com/punkrocker/p/4594825.html
Copyright © 2011-2022 走看看