本人刚开始用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

更多相关文章

  1. android 系统级 bug audio latency
  2. android 系统级 bug audio latency
  3. AndroidManifest.xml中 andorid 版本号 versionCode, versionNam
  4. android 系统级 bug audio latency
  5. android 获取路径目录方法以及判断目录是否存在,创建目录
  6. Android版本号 API level一览表
  7. android 版本号比较大小
  8. Android中的gen文件为空或者不存在的处理方法
  9. SafetyNet & 漏洞rootutils 利用

随机推荐

  1. Android元素定位
  2. Android(安卓)xml资源文件中@、@android:
  3. Android新手笔记—六大布局
  4. Ad-hoc hack for Android
  5. android学汇资料总整理
  6. Android(安卓)xml资源文件中@、@android:
  7. android 布局属性
  8. Android中自定义水平进度条样式之黑色虚
  9. android布局属性的介绍
  10. android tabhost位于底部