每当我尝试构建时,Android资源链接失败

每当我试图构建它给我这个错误安卓资源链接 failed.am 新的安卓开发


 Android resource linking failed

error: resource android:style/TextAppearance.Material not found.

error: resource android:style/TextAppearance.Material.Body1 not found.

error: resource android:style/TextAppearance.Material.Body2 not found.

error: resource android:style/TextAppearance.Material.Button not found.

error: resource android:style/TextAppearance.Material.Caption not found.

error: resource android:style/TextAppearance.Material.Display1 not found.

error: resource android:style/TextAppearance.Material.Display2 not found.

error: resource android:style/TextAppearance.Material.Display3 not found.

error: resource android:style/TextAppearance.Material.Display4 not found.

error: resource android:style/TextAppearance.Material.Headline not found.

error: resource android:style/TextAppearance.Material.Inverse not found.

error: resource android:style/TextAppearance.Material.Large not found.

error: resource android:style/TextAppearance.Material.Large.Inverse not found.

error: resource android:style/TextAppearance.Material.Widget.PopupMenu.Large not found.

error: resource android:style/TextAppearance.Material.Widget.PopupMenu.Small not found.

error: resource android:style/TextAppearance.Material.Medium not found.

error: resource android:style/TextAppearance.Material.Medium.Inverse not found.

error: resource android:style/TextAppearance.Material.Menu not found.

error: resource android:style/TextAppearance.Material.SearchResult.Subtitle not found.

error: resource android:style/TextAppearance.Material.SearchResult.Title not found.


慕妹3242003
浏览 241回答 1
1回答

叮当猫咪

确保 SDK 版本必须与支持库匹配。如果你的构建.gradle 像这样意味着implementation 'com.android.support:appcompat-v7:28.0.0'编译Sdk版本和构建工具版本应该是compileSdkVersion 28 buildToolsVersion "28.0.3有关更多详细信息,请参阅此答案
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java