'com.android.support:support-annotations' 问题解决方法
来源:互联网 发布:mac在哪里下载软件 编辑:程序博客网 时间:2024/05/19 16:06
Warning:Conflict with dependency 'com.android.support:support-annotations' 问题解决方法
在Android Studio 执行测试的时候,报错:
Warning:Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (23.3.0) and test app (23.1.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.
意思是“com.android.support:support-annotations”依赖冲突了,APP的 是23.3.0,而 测试APP是 23.1.1
解决方法:
在gradle的文件中加入如下一行:
androidTestCompile 'com.android.support:support-annotations:23.3.0'
再次运行,错误消失。
注意:这个版本必须是23.3.0,见蓝色版本标记。这样才能和APP(23.3.0)依赖是一致的。
0 0
- 'com.android.support:support-annotations' 问题解决方法
- Warning:Conflict with dependency 'com.android.support:support-annotations'问题解决
- Warning:Conflict with dependency 'com.android.support:support-annotations'问题解决
- “com.android.support:support-annotations”冲突
- Could not find com.android.support:support-annotations:23.3.0
- Failed to resolve: com.android.support:support-annotations
- Failed to resolve com.android.support:support-annotations 26.0.1
- Warning:Conflict with dependency 'com.android.support:support-annotations'
- 深入浅出Android Support Annotations
- 深入浅出Android Support Annotations
- 深入浅出Android Support Annotations
- 深入浅出Android Support Annotations
- 深入浅出Android Support Annotations
- 深入浅出Android Support Annotations
- 深入浅出Android Support Annotations
- 【注解】android.support.annotations
- 深入浅出Android Support Annotations
- 深入浅出Android Support Annotations
- linux下cpio.gz文件的解压方法
- 计算在UITableView中的UICollectionView的高度(自适应)(iOS10可用)
- 将从数据库中读出的带html标签的数据转化为正常的带样式的文字
- Yii 框架里数据库操作详解-[增加、查询、更新、删除的方法 'AR模式']
- 121. Best Time to Buy and Sell Stock
- 'com.android.support:support-annotations' 问题解决方法
- 新手快速入门Docker最新版管理工具
- Longest Increasing Path in a Matrix
- 安卓学习笔记---完美解决Android的WebView加载失败(404,500),显示的自定义视图
- linux初学
- 初始android
- 2PC
- 详细介绍Linux shell脚本基础学习
- 从零开始高阶.Net Mvc5 EF6 WebApi2 Angular2项目开发(Ch01——1)