0
私はソリューションにCardViewコンポーネントを追加して、これらのエラーを生成しました。エラーの下の部分では、\Resources\values\style.xml
を指しています。このファイルには欠損値が入っています。CardViewコンポーネントを追加した後で構築できません
私が試してみました:
- が6.0から5.1へのバージョンをコンパイル変更クリーニング
- 再起動VS
\AppData\Local\Xamarin
- ですべての様々なサポートファイルを削除
\AppData\Local\Xamarin\zips
- でダウンロードしたジッパーを削除します
- コンポーネントを削除して再追加
- コンポーネントを削除し、NuGetから
Xamarin.Android.Support.v7.CardView
を追加します。
何をする必要がありますか?
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(66): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Animation.AppCompat.Dialog'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(80): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Display1'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(83): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Caption'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(84): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Caption'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(87): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Caption'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(90): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Caption'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(97): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Button'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(100): error APT0000:
No resource found that matches the given name: attr 'textAllCaps'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(102): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(105): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(110): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(113): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(119): error APT0000:
No resource found that matches the given name: attr 'windowActionBar'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(120): error APT0000:
No resource found that matches the given name: attr 'windowNoTitle'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(123): error APT0000:
No resource found that matches the given name: attr 'windowActionBar'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(124): error APT0000:
No resource found that matches the given name: attr 'windowNoTitle'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(127): error APT0000:
No resource found that matches the given name: attr 'elevation'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(145): error APT0000:
No resource found that matches the given name: attr 'backgroundTint'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(147): error APT0000:
No resource found that matches the given name: attr 'elevation'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(153): error APT0000:
No resource found that matches the given name: attr 'elevation'.
\obj\Debug\resourcecache\5F2...97F5\res\values\values.xml(168): error APT0000:
No resource found that matches the given name: attr 'elevation'.
\Resources\values\style.xml(2): error APT0000: Error retrieving parent for item:
No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'actionBarPopupTheme'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'actionBarStyle'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'actionBarTheme'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'colorAccent'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'colorPrimary'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'colorPrimaryDark'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'windowActionModeOverlay'.
\Resources\values\style.xml(2): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionBar.Solid'.
\Resources\values\style.xml(2): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'colorAccent'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'colorPrimary'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'colorPrimaryDark'.
\Resources\values\style.xml(2): error APT0000:
No resource found that matches the given name: attr 'colorAccent'.
\Resources\values\style.xml(2): error APT0000:
Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat.Button.Borderless'.
サポートライブラリが不足しているようです。これらをプロジェクトに再追加し、これらのリソースが 'Resource.designer.cs'ファイルに生成されていることを確認してください。 –