得到同时建立新的工作区的一个项目一个错误 [英] Got an error while building a project in new workspace

查看:184
本文介绍了得到同时建立新的工作区的一个项目一个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是新的Andr​​oid开发。我试图创建一个新的工作空间是目标SDK的API 21和编译时API 19 。我已经安装了 API19和20的SDK,而不是Android5 。我创建了一个新的工作区,并创建了一个在我结束了下面的错误,而编译该项目创建后的新项目。谁能帮助我如何摆脱呢?

错误的详细信息:

  

描述资源路径位置类型错误:错误:没有资源   发现匹配给定的名字:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V11线   352的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V11线   345的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V11线   359的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V11线   338的Andr​​oid AAPT问题的项目不能建到构建路径   错误已解决SampleApp未知的Java问题的错误:错误:没有   资源发现,匹配给定的名字:ATTR   机器人:colorControlNormal。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   193的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlHighlight。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   195的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimaryDark。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   191的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimary。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   190的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.AutoCompleteTextView。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   174的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.Toolbar.Button.Navigation。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   93 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   @android:TextAppearance.Material.SearchResult.Subtitle。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   168的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.AutoCompleteTextView。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   172的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionBar.Title。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   97 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionBar.Subtitle。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   101的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ListView。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   121的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ListView.DropDown。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   107的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:overlapAnchor。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   138的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ListPopupWindow。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   126的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:ThemeOverlay.Material。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   202的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Button。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   62 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.Spinner。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   113的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   20款Android AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ProgressBar。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   182的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.DropDownItem.Spinner。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   110的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.Spinner。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   115的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:ThemeOverlay.Material.Dark.ActionBar。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   223的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.PopupMenu.Large。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   154的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Display2。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   26 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:ThemeOverlay.Material.ActionBar。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   219的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.PopupMenu.Small。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   150的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Display1。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   28 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:ThemeOverlay.Material.Dark。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   205的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Display4。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   22 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   @android:TextAppearance.Material.SearchResult.Title。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   164的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:ThemeOverlay.Material.Light。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   212的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.PopupMenu.Small。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   158的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Display3。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   24 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Subhead。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   34 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.PopupMenu。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   129的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlNormal。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   82 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:overlapAnchor。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   143的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Body2。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   36 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlHighlight。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   84 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.PopupMenu.Large。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   146的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Headline。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   30 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlActivated。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   83 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Title。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   32 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.Light.PopupMenu。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   132的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorAccent。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   81 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Button。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   60 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.Light.ActionBar.TabView。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   29 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorAccent。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   118的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ActionBar.TabText。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   33 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Menu。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   42 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlActivated。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   120的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Caption。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   40 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.Light.ActionBar.TabText。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   37 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimary。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   79 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Body1。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   38 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.Light.ActionBar.TabText。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   41 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimaryDark。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   80 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Medium。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   52 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ActionButton。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   75 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimary。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   116的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ActionButton.CloseMode。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   79 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Large.Inverse。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   50 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimaryDark。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   117的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Large。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   48 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ActionButton.Overflow。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   83 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlHighlight。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   121的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ActionBar.TabView。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   25 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Inverse。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   46 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlNormal。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   119的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionBar.Subtitle。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   53 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlHighlight。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   158的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionBar.Title.Inverse。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   57 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Small.Inverse。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   58 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlNormal。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   156的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Small。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   56 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   61 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorAccent。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   155的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Medium.Inverse。 styles_bas​​e_text.xml / appcompat_v7 / RES /值-V21线   54 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Widget.Material.ProgressBar.Horizo​​ntal。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   178的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlActivated。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   157的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionMode.Title。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   65 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorAccent。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   192的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionMode.Subtitle。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   69 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorControlActivated。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   194的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionBar.Menu。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   45 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimary。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   153的Andr​​oid AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:colorPrimaryDark。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   154的Andr​​oid AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:TextAppearance.Material.Widget.ActionBar.Title。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线   49 Android的AAPT问题的容器Android的依赖关系   引用不存在的库   D:\工作区\ appcompat_v7 \ BIN \ appcompat_v7.jarSampleApp建设   路径构建路径问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V14线   37 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V14线   29 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V14线   53 Android的AAPT问题的错误:错误:没有资源的发现,匹配   给定的名称:ATTR   机器人:actionModeShareDrawable。 themes_bas​​e.xml / appcompat_v7 / RES /值-V14线   45 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Theme.Material。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   26 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Theme.Material.Light。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   31 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Theme.Material.Dialog。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   36 Android的AAPT问题的错误:错误检索父项目:无   资源发现,匹配给定的名字   机器人:Theme.Material.Light.Dialog。 themes_bas​​e.xml / appcompat_v7 / RES /值-V21线   41 Android的AAPT问题

解决方案
  1. 更​​新 appcompat V7 ,其中有project.properties文件:目标=机器人-19 目标=机器人-21

  2. 同一个更新我的意思是在<$ C $更新更新谷歌播放服务库( C> SDK管理器并重新导入等)

Am new for android development. I tried to create a new workspace with Target SDK as API 21 and Compiled with API 19. I have installed the sdk of API19 and 20 and not the Android5. I created a new workspace and created a new project in which I ended up with the below error while compiling the project after creating it. Can anyone help me how to get rid of this?

Error details:

Description Resource Path Location Type error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v11 line 352 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v11 line 345 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v11 line 359 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v11 line 338 Android AAPT Problem The project cannot be built until build path errors are resolved SampleApp Unknown Java Problem error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. themes_base.xml /appcompat_v7/res/values-v21 line 193 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. themes_base.xml /appcompat_v7/res/values-v21 line 195 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. themes_base.xml /appcompat_v7/res/values-v21 line 191 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. themes_base.xml /appcompat_v7/res/values-v21 line 190 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. styles_base.xml /appcompat_v7/res/values-v21 line 174 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'. styles_base.xml /appcompat_v7/res/values-v21 line 93 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'. styles_base.xml /appcompat_v7/res/values-v21 line 168 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. styles_base.xml /appcompat_v7/res/values-v21 line 172 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. styles_base.xml /appcompat_v7/res/values-v21 line 97 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. styles_base.xml /appcompat_v7/res/values-v21 line 101 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'. styles_base.xml /appcompat_v7/res/values-v21 line 121 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'. styles_base.xml /appcompat_v7/res/values-v21 line 107 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'. styles_base.xml /appcompat_v7/res/values-v21 line 138 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'. styles_base.xml /appcompat_v7/res/values-v21 line 126 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material'. themes_base.xml /appcompat_v7/res/values-v21 line 202 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. styles_base_text.xml /appcompat_v7/res/values-v21 line 62 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. styles_base.xml /appcompat_v7/res/values-v21 line 113 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'. styles_base_text.xml /appcompat_v7/res/values-v21 line 20 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'. styles_base.xml /appcompat_v7/res/values-v21 line 182 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'. styles_base.xml /appcompat_v7/res/values-v21 line 110 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. styles_base.xml /appcompat_v7/res/values-v21 line 115 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark.ActionBar'. themes_base.xml /appcompat_v7/res/values-v21 line 223 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. styles_base.xml /appcompat_v7/res/values-v21 line 154 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'. styles_base_text.xml /appcompat_v7/res/values-v21 line 26 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.ActionBar'. themes_base.xml /appcompat_v7/res/values-v21 line 219 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. styles_base.xml /appcompat_v7/res/values-v21 line 150 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'. styles_base_text.xml /appcompat_v7/res/values-v21 line 28 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark'. themes_base.xml /appcompat_v7/res/values-v21 line 205 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'. styles_base_text.xml /appcompat_v7/res/values-v21 line 22 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'. styles_base.xml /appcompat_v7/res/values-v21 line 164 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Light'. themes_base.xml /appcompat_v7/res/values-v21 line 212 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. styles_base.xml /appcompat_v7/res/values-v21 line 158 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'. styles_base_text.xml /appcompat_v7/res/values-v21 line 24 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Subhead'. styles_base_text.xml /appcompat_v7/res/values-v21 line 34 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'. styles_base.xml /appcompat_v7/res/values-v21 line 129 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. themes_base.xml /appcompat_v7/res/values-v21 line 82 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'. styles_base.xml /appcompat_v7/res/values-v21 line 143 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'. styles_base_text.xml /appcompat_v7/res/values-v21 line 36 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. themes_base.xml /appcompat_v7/res/values-v21 line 84 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. styles_base.xml /appcompat_v7/res/values-v21 line 146 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'. styles_base_text.xml /appcompat_v7/res/values-v21 line 30 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. themes_base.xml /appcompat_v7/res/values-v21 line 83 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'. styles_base_text.xml /appcompat_v7/res/values-v21 line 32 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'. styles_base.xml /appcompat_v7/res/values-v21 line 132 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorAccent'. themes_base.xml /appcompat_v7/res/values-v21 line 81 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. styles_base_text.xml /appcompat_v7/res/values-v21 line 60 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'. styles_base.xml /appcompat_v7/res/values-v21 line 29 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorAccent'. themes_base.xml /appcompat_v7/res/values-v21 line 118 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'. styles_base.xml /appcompat_v7/res/values-v21 line 33 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'. styles_base_text.xml /appcompat_v7/res/values-v21 line 42 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. themes_base.xml /appcompat_v7/res/values-v21 line 120 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'. styles_base_text.xml /appcompat_v7/res/values-v21 line 40 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. styles_base.xml /appcompat_v7/res/values-v21 line 37 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. themes_base.xml /appcompat_v7/res/values-v21 line 79 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'. styles_base_text.xml /appcompat_v7/res/values-v21 line 38 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. styles_base.xml /appcompat_v7/res/values-v21 line 41 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. themes_base.xml /appcompat_v7/res/values-v21 line 80 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium'. styles_base_text.xml /appcompat_v7/res/values-v21 line 52 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'. styles_base.xml /appcompat_v7/res/values-v21 line 75 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. themes_base.xml /appcompat_v7/res/values-v21 line 116 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'. styles_base.xml /appcompat_v7/res/values-v21 line 79 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'. styles_base_text.xml /appcompat_v7/res/values-v21 line 50 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. themes_base.xml /appcompat_v7/res/values-v21 line 117 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large'. styles_base_text.xml /appcompat_v7/res/values-v21 line 48 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'. styles_base.xml /appcompat_v7/res/values-v21 line 83 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. themes_base.xml /appcompat_v7/res/values-v21 line 121 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'. styles_base.xml /appcompat_v7/res/values-v21 line 25 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'. styles_base_text.xml /appcompat_v7/res/values-v21 line 46 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. themes_base.xml /appcompat_v7/res/values-v21 line 119 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. styles_base.xml /appcompat_v7/res/values-v21 line 53 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. themes_base.xml /appcompat_v7/res/values-v21 line 158 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'. styles_base.xml /appcompat_v7/res/values-v21 line 57 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'. styles_base_text.xml /appcompat_v7/res/values-v21 line 58 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. themes_base.xml /appcompat_v7/res/values-v21 line 156 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small'. styles_base_text.xml /appcompat_v7/res/values-v21 line 56 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'. styles_base.xml /appcompat_v7/res/values-v21 line 61 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorAccent'. themes_base.xml /appcompat_v7/res/values-v21 line 155 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'. styles_base_text.xml /appcompat_v7/res/values-v21 line 54 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'. styles_base.xml /appcompat_v7/res/values-v21 line 178 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. themes_base.xml /appcompat_v7/res/values-v21 line 157 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'. styles_base.xml /appcompat_v7/res/values-v21 line 65 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorAccent'. themes_base.xml /appcompat_v7/res/values-v21 line 192 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'. styles_base.xml /appcompat_v7/res/values-v21 line 69 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. themes_base.xml /appcompat_v7/res/values-v21 line 194 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'. styles_base.xml /appcompat_v7/res/values-v21 line 45 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. themes_base.xml /appcompat_v7/res/values-v21 line 153 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. themes_base.xml /appcompat_v7/res/values-v21 line 154 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. styles_base.xml /appcompat_v7/res/values-v21 line 49 Android AAPT Problem The container 'Android Dependencies' references non existing library 'D:\Workspace\appcompat_v7\bin\appcompat_v7.jar' SampleApp Build path Build Path Problem error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v14 line 37 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v14 line 29 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v14 line 53 Android AAPT Problem error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. themes_base.xml /appcompat_v7/res/values-v14 line 45 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'. themes_base.xml /appcompat_v7/res/values-v21 line 26 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light'. themes_base.xml /appcompat_v7/res/values-v21 line 31 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Dialog'. themes_base.xml /appcompat_v7/res/values-v21 line 36 Android AAPT Problem error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light.Dialog'. themes_base.xml /appcompat_v7/res/values-v21 line 41 Android AAPT Problem

解决方案

  1. Update the project.properties file of appcompat v7, which has:target=android-19 to target=android-21

  2. Also update google play services library (by update I mean update it in SDK Manager and re-import etc)

这篇关于得到同时建立新的工作区的一个项目一个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆