Error:Execution failed for task ':pulltorefresh:processDebugAndroidTestManifest'.
来源:互联网 发布:淘宝呼死你哪里有卖 编辑:程序博客网 时间:2024/06/06 19:50
问题描述:在编译项目时报了标题的错误,这是导入的的pullToRefresh项目:
Error:Execution failed for task ':pulltorefresh:processDebugAndroidTestManifest'.> Manifest merger failed : uses-sdk:minSdkVersion 4 cannot be smaller than version 7 declared in library [com.android.support:recyclerview-v7:23.4.0] /Users/junan/.android/build-cache/d8759f1bc3a9193d67e751724c856b2f6d5d8cd2/output/AndroidManifest.xmlSuggestion: use tools:overrideLibrary="android.support.v7.recyclerview" to force usage
百度翻译过来的大概意思是: 错误:任务执行失败:pulltorefresh:processdebugandroidtestmanifest”。>体现并购失败:使用SDK的例子:minSdkVersion 4不能小于Version7在版本库里[ COM宣布。Android。支持:recyclerview-v7:23.4.0 ]
RefreshListFragment中没有指明其编译的最低版本;因为它依赖了pullToRefresh_library库,所以它的miniSdkVersion不能小于库的版本,在build.gradle的
解决方法:在pullToRefresh的build.gradle中添加指定版本范围 defaultConfig:
android { compileSdkVersion 22 buildToolsVersion '25.0.0' defaultConfig { minSdkVersion 16 targetSdkVersion 25 } }
再次编译,问题解决。
阅读全文
4 0
- Error:Execution failed for task ':pulltorefresh:processDebugAndroidTestManifest'.
- Error:Execution failed for task ':app:dexDebug'.
- Error:Execution failed for task ':app:compileDebugAidl'.
- Error:Execution failed for task ':app:packageDebug'.
- Error:Execution failed for task ':app:dexDebug'.
- Error:Execution failed for task ':asynctask:packageDebug'
- Error:Execution failed for task ':app:processDebugResources'.
- Error:Execution failed for task ':transformClassesWithDexForDebug'.
- Error:Execution failed for task ':transformClassesWithJarMergingForDebug'
- Error:Execution failed for task ':transformResourcesWithMergeJavaResForDebug'
- Error:Execution failed for task ':app:transformClassesWithDexForDebug&#
- Error:Execution failed for task ':processDebugResources'.
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'
- Error:Execution failed for task ':app:transformClassesWithDexForDebug"
- Error:Execution failed for task ':app:mergeDebugResources'
- Error:Execution failed for task ‘:app:clean’.
- Error:Execution failed for task ':app:transformClassesWithDexForUmengDebug'.
- 异步修改+显示隐藏
- iOS 敏捷开发项目实战
- 如何去掉UITableView中多余的cell
- 选择排序
- 正则表达式一
- Error:Execution failed for task ':pulltorefresh:processDebugAndroidTestManifest'.
- easyUI-combobox 往里面动态添加 option列 及combobox的使用
- 使用配置文件自动备份远程oracle数据库
- 消息队列设计精要
- android developer tiny share-20170627
- IPC----信号量
- urlparse学习
- Web前端PS基础
- Hive基本操作