Android:Error retrieving parent for item: No resource found that matches the given name解决方法
16lz
2021-01-23
本人刚开始用Android Studio进行android开发,但是刚新建一个android工程,便出现错误,错误提示为:
C:\Users\Administrator\AndroidStudioProjects\CanvasDemo\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.0.0\res\values-v23\values-v23.xmlError:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
解决办法:
找到Gradle Scripts–>build.gradle(Module:app)
确保以下3个地方的版本号一致(注意: 版本的api必须已经下载完成,存在本地)
http://stackoverflow.com/questions/32075498/error-retrieving-parent-for-item-no-resource-found-that-matches-the-given-name
更多相关文章
- Android 各个版本WebView
- Google Maps Android API V2 版本更新导致的科研瓶颈
- AndroidManifest.xml中 andorid 版本号 versionCode, versionNam
- Android壁纸机制(Android Q与老版本对比)
- 谷歌推Android 3.0正式版本
- Android名称、版本和API level的对应关系