Android Studio添加Activity时Resolved versions for app (21.0.3) and test app (25.4.0) differ.
将以下代码添加到gradle(module) dependencise中
androidTestCompile 'com.android.support:support-annotations:xx.x.x'
xx.x.x表示错误提示中的测试版本号
将以下代码添加到gradle(module) dependencise中
androidTestCompile 'com.android.support:support-annotations:xx.x.x'
xx.x.x表示错误提示中的测试版本号