Android studio appcompat-v7 更新23.0.x版本后出现问题
来源:互联网 发布:短信群发软件下载 编辑:程序博客网 时间:2024/06/06 07:00
最近在更新了AS之后,创建工程就出现来问题!错误代码提示如下:
/Users/Yuseng/Documents/AndroidStudioWorkSpace/MyApplication1/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-v23/values-v23.xmlError:(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 '/Users/Yuseng/Library/Android/sdk2/build-tools/22.0.1/aapt'' finished with non-zero exit value 1
解决方法如下,以供参考:
build.gradle文件中,将
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1'}
修改为:
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.2.1'}然后clean和Rebuild一下就OK!
原因大致是更新了V7包之后,一些apec.http package的引用缺失了。
1 0
- Android studio appcompat-v7 更新23.0.x版本后出现问题
- Android低版本使用ActionBar导入v7-appcompat出现的问题
- android studio:appcompat v7:27.+
- Android Studio——使用Android ADT最新开发工具后,新建项目出现appcompat v7 他是什么?
- Android Studio 引入 android-support-v7-appcompat 包问题
- android studio 编译失败:appcompat-v7的问题
- android studio怎么导入appcompat-v7
- Android Studio support:appcompat-v7:26+
- 关于android studio出现failed to find com.android.support:appcompat-v7:22+
- 关于 Android Studio中的compile 'com.android.support:appcompat-v7:23.+'出现的警告
- android项目创建遇到appcompat v7 问题
- 导入android-support-v7-appcompat出现问题: android:Widget.Material.ActionButton
- android studio appcompat-v7:22.0.0包与support-v4:22.0.0包问题
- support-v7-appcompat问题
- android studio如何导入android-support-v7-appcompat包
- 解决Android Studio打开别人包时出现Failed to find: com.android.support:appcompat-v7:21.
- 解决Android Studio打开别人包时出现Failed to find: com.android.support:appcompat-v7:21.
- android-support-v7-appcompat
- [译]从LinkedIn,Apache Kafka到Unix哲学
- 串行通信及分类
- iOS--判断网络是否可用-(本地判断)
- word 文档结构图 字体样式改变,保证有用
- Spring MVC textbox example
- Android studio appcompat-v7 更新23.0.x版本后出现问题
- hdu5444(2015长春网络赛H题)
- Oracle命令学习
- linux---网口配置文件
- Eclipse Maven插件的安装
- 软件运行在64位win7没有问题,但是在32位win7运行出现BEX错误
- 素数表生成
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- iOS学习笔记:instancetype关联返回类型