サポートライブラリを更新した後のエラー

? TK52 @ | Original: StackOverFlow

アンドロイド5.0は今日昼食しまったとき、私はちょうど私のライブラリを更新した

更新されてしまったファイルのいずれかは、Android -サポート-V7である。その後、私はこれらのエラーを取得保管

[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:69: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:45: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:113: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:110: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:107: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:126: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:138: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:143: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:132: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:146: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:150: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:154: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:158: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:164: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:168: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:172: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:174: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:93: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:97: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base.xml:101: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:62: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:34: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Subhead'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:38: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:42: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:Program Files (x86)adt-bundle-windows-x86_64-20140702sdkextrasandroidsupportv7appcompat
esvalues-v21styles_base_text.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.
[2014-10-18 01:05:34 - android-support-v7-appcompat] 

私は、 SDKマネージャからライブラリを削除し、再度ダウンロードしてくださいみました

私は図書館を削除し、私のプロジェクトをリフレッシュし、アンドロイド·サポート-V7 - AppCompatの約ビルド·パス内のすべての行を削除しようとした

私は再びお風呂をセットアップする私はとき、私はライブラリをインポートして、私のプロジェクトのパスに追加

まだ何も仕事、私はADT ( Androidの開発ツール)を使用していないAndroidのメーカーよ



Top 5 Respuesta

1Jerry101 @

compatのやサポートライブラリのAPIのV21のバージョンに切り替えるためには、あなたもcompileSdkVersion 21とbuildToolsVersion '21 .0.1 」に切り替える必要があります。

アンドロイドStudioでは、 build.gradleでこれらを設定する。 ADTでは、私はそれらの設定方法を覚えていない。



2Patricio Bonilla @

持って「 ____ 」ファイルを、変更します。

project.properties

to

target=android-19

近いプロジェクト上記の変更後、オープンでクリーン後に

3Ahmad Najar @

それは私と一緒にthatsの仕事に動作します、その後それは、それは自動的にあなたのappcompact libがインポートされます分SDK 2.3で新しいAndroidプロジェクトを作成しようとした後に新しいワークスペースを作成します。

4aligokayduman @

同様のエラーへの私の溶液;

1 )私は、 SDKマネージャで21のAPIをインストールしました。

2 )私は21に私のプロジェクトのビルドターゲットを変更しました。    と    私は21にV7 - AppCompatのライブラリのビルドターゲットを変更しました。

そして最後に私がサポートライブラリプロジェクト( V7 - AppCompatのまたはV7 - GridLayoutには)のworkingSetでなければなりませんと思います。