码迷,mamicode.com
首页 > 其他好文 > 详细

使用谷歌地图时报一堆错的解决方法

时间:2015-06-23 11:29:28      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:

错误信息类似:
C:\Users\WindowsSucks\AndroidStudioProjects\MMMeds\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v11\values.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:\Users\WindowsSucks\AndroidStudioProjects\MMMeds\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v14\values.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:\Users\WindowsSucks\AndroidStudioProjects\MMMeds\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v21\values.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+这种形式)

 

使用谷歌地图时报一堆错的解决方法

标签:

原文地址:http://www.cnblogs.com/punkrocker/p/4594825.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!