Comments (2)
参考了stackoverflow上的帖子,在app/build.gradle
中加入以下代码
configurations.all {
resolutionStrategy {
force 'com.android.support:support-annotations:23.1.1'
}
}
dependencies {
// test
androidTestCompile 'com.android.support.test:runner:0.5'
// Set this dependency to use JUnit 4 rules
androidTestCompile 'com.android.support.test:rules:0.5'
// Set this dependency to build and run UI Automator tests
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
}
编译即可通过,似乎是新的自动化测试版本的原因,抱歉打扰作者了
P.S.添加的代码来自https://github.com/JakeWharton/u2020/blob/05a57bf43b9b61f16d32cbe8717af77cd608b0fb/build.gradle#L136-L140
from geeknews.
@takanashi-hitomi 你好,感谢反馈,我现在把这些库加上 ^ ^
from geeknews.
Related Issues (20)
- 闪退
- UTC时间转换错误
- 加载详情页时总报这个错ERROR:interface_registry.cc(104)
- 关于RealmHelper的疑问 HOT 1
- 添加header
- 封装的Root基类里面加载动画
- 关于使用Dagger2注入presenter的问题 HOT 1
- 关于HttpModule类中,构建Retrofit对象的问题
- 关键类缺失
- emitter.onNext内代码发生异常,却不回调CommonSubscriber的onError
- App里边不会有相同的两个Activity吧, 为啥还要用HashSet 去重呢?
- How to createData when data is null
- 动态更换请求HOST
- android resource linking failed
- Performance improvement suggestion
- apk
- apk连接挂了,可以给个apk么 [email protected] 给star哦!
- 缺少DaggerActivityComponent等源文件
- download link is 404 HOT 1
- Awesome
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geeknews.