Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
2016-02-01 23:44
751 查看
http://bbs.csdn.net/topics/391813146
D:\Android\project\MyApplication4\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.0.0\res\values-v23\values-v23.xml
Error:(2) 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'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Android\SDK\build-tools\23.0.0\aapt.exe'' finished with non-zero exit value 1
然后弹出 values-v23.xml 文件,估计红色地方的问题
<style name="Base.TextAppearance.AppCompat.Widget.Button.Inverse" parent="android:TextAppearance.Material.Widget.Button.Inverse"/>
<style name="Base.Widget.AppCompat.Button.Colored" parent="android:Widget.Material.Button.Colored"/>
关键这文件还不能改,百度了一晚上都搞不定,好想shi,连新建项目都出错还怎么玩
引用 4 楼 comeheress 的回复:
改下build.gradle文件,将里面的compileSdkVersion改为23即可
解决了
D:\Android\project\MyApplication4\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.0.0\res\values-v23\values-v23.xml
Error:(2) 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'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Android\SDK\build-tools\23.0.0\aapt.exe'' finished with non-zero exit value 1
然后弹出 values-v23.xml 文件,估计红色地方的问题
<style name="Base.TextAppearance.AppCompat.Widget.Button.Inverse" parent="android:TextAppearance.Material.Widget.Button.Inverse"/>
<style name="Base.Widget.AppCompat.Button.Colored" parent="android:Widget.Material.Button.Colored"/>
关键这文件还不能改,百度了一晚上都搞不定,好想shi,连新建项目都出错还怎么玩
引用 4 楼 comeheress 的回复:
改下build.gradle文件,将里面的compileSdkVersion改为23即可
解决了
相关文章推荐
- android源码分析之notification
- Android 中如何计算 App 的启动时间?
- JavaScript第五课——数据类型(String类型、Object类型)
- iOS开发的小技巧(断点打印)
- iOS 基础知识
- android-Creating Multiple APKs for Different Screen Sizes,Creating Multiple APKs for Different GL Te
- JS判断客户端是否是iOS或者Android
- ios开发技巧之【1】
- iOS 微信 音频 视频自动播放
- android实战网址
- Android 中如何计算 App 的启动时间?
- androidStudio导入SlidingMenu第三方框架中出现的问题
- Android 调整图标和字体大小
- Android初学习 - implements OnClickListener
- Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE environment v
- android的m、mm、mmm编译命令的使用
- Android学习笔记之广播
- Android中asset文件夹和raw文件夹区别
- android-Purchasing In-app Billing Products,Testing Your In-app Billing Application
- 导入xUtils_3 工程到Android Studio