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

错误信息类似: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+这种形式)

 

时间: 2024-10-30 14:19:48

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

C++中的字符数组逐个赋值时报错的解决方法

C++中的字符数组逐个赋值时报错的解决方法 C++中定义一个字符数组的时候,如果初始化,则cout的时候不会出错,但是在逐个字符赋值的时候,很容易出错. #include<iostream> #include<string> using namespace std; int main() { //char s[100] = "china"; char s[100]; s[0]='c'; s[1]='n'; s[2]='\0'; cout<<s<

【第一个项目】MySQL第二天早上第一次连接超时报错,解决方法com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:

MySQL第二天早上第一次连接超时报错,解决方法com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago 最近碰到一个mysql5

svn“Previous operation has not finished; run &#39;cleanup&#39; if it was interrupted“报错的解决方法

今天碰到了个郁闷的问题,svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”.无论你到那个父层次的目录执行“clean up “,都是报一样的错.执行cleanup时候,提示要cleanup.看来是进入死循环了. 可能是频繁做了一些改名,文件打开的时候更新或者提交操作,导致svn罢工了.这个也该算是svn的bug吧.类似的情况,其实之前也碰到过.之前都是图省事,把整

MySQL 5.7 Invalid default value for &#39;CREATE_TIME&#39;报错的解决方法

出处:http://blog.itpub.net/15498/viewspace-2136006/ 由于数据库的升级,今天在执行从MySQL 5.6导出来的SQL文件时报错: mysql> source cms_user.sqlQuery OK, 0 rows affected (0.00 sec) Query OK, 0 rows affected, 1 warning (0.04 sec) ERROR 1067 (42000): Invalid default value for 'CREA

金蝶财务软件帐套属性设置保存和帐套启用报错的解决方法

金蝶财务软件新建立帐套,在帐套属性设置完毕保存提示如下图的提示,所以帐套也就启用不了,在启用的时候也会提示下图的错误: 查找原因的时候,一直提示"NT AUTHORITY\NETWORK SERVICE"登陆失败,就突然想到了,是不是登陆数据库的时候,默认以管理员登陆,管理员能登陆成功,是不是得把这个用户加入到管理员组才可以呢,结果就试了下,最后发现还真是这个情况,把这个用户加入管理员后,帐套启用成功.以下是用户加入管理员组的步骤,可以参考以下: 进入计算机管理 找到组 双击管理员组

ArcGIS API for Silverlight 调用WebService出现跨域访问报错的解决方法

原文:ArcGIS API for Silverlight 调用WebService出现跨域访问报错的解决方法 群里好几个朋友都提到过这样的问题,说他们在Silverlight中调用了WebService方法,总报这个错误,贴图如下: 解决办法: 1.确定你的Silverlight项目及承载Silverlight的Web程序根目录下都包含2个跨域文件,分别是crossdomain.xml和clientaccesspolicy.xml: crossdomain.xml文件,如下: <?xml ve

centos编译libpng报错,解决方法

/usr/local/lib/libz.a: could not read symbols: Bad value 一般是64 位 电脑才会出现. 解决方法如下: 1 cd zlib-1.2.3 //进入zlib目录 2 3 CFLAGS="-O3 -fPIC" ./configure //使用64位元的方法进行编译 4 5 make 6 7 make install 8 9 make clean centos编译libpng报错,解决方法,布布扣,bubuko.com

【原创】关于flexviewer中引入图表时报的TypeError #1009解决方法

在自定义的widget中引入图表后,运行时出现TypeError #1009错误.本人网上查找了很多资料,其中大部分都是关于Flash中的动画效果问题,与这里的问题关系型不太大.故把问题的解决方法写在这里,与人方便,与己方便. 方法一: 1.在自定义的widget中添加如下两个方法: private function copyStyleFromParent(selector:String):void { var chartBaseStyle:CSSStyleDeclaration = style

Python安装xlrd和xlwt的步骤以及使用报错的解决方法

一.安装xlrd和xlwt功能模块步骤 1.使用python -V查看python的版本号,并查看python安装环境,是否安装成功: 2.可以通过官网(python官网:https://pypi.python.org/pypi)或者其他手段获取到功能模块的安装程序包: 3.将程序包解压,并放在python->Lib文件下   4.在cmd命令窗口中,进入E:\Python\Python36\Lib目录下,分别进入xlrd和xlwt的目录下,执行python setup.py install命令