Original Gradle file:
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) // Testing dependencies compile 'com.google.android.gms:play-services-gcm:9.4.0' compile 'com.android.support:appcompat-v7:24.0.0' compile 'com.android.support.constraint:constraint-layout:+' compile 'com.android.support:design:24.2.1' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2' androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile 'com.android.support:support-annotations:24.0.0' }
androidTestCompile 不匹配
FIXED when I added:
androidTestCompile 'com.android.support:support-annotations:24.2.1'
相关推荐
解决The type org.springframework.dao.support.DaoSupport cannot be resolved.bao报错
- Changed the Memory test to wait for the Video Playback test and 3D test to allow memory allocation for these tests. - Minor changes to the No operation error watchdog timer for the CD and Hard ...
cocos The import com.loopj cannot be resolved 是缺失了jar包。导入lib文件夹,或者刷新eclipse就好了。
Software Testing and Continuous Quality Improvement <br>SECTION I SOFTWARE QUALITY IN PERSPECTIVE . . . . . . . . . . . . . . . 1 1 Quality Assurance Framework. . . . . . . . . . . . . . . . . ....
Optimal image-based weighting for energy-resolved CT.pdf
The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files错误....., 解决办法:在工程中加入此jar包
jce.jar/jsse.jar解决The import javax.crypto cannot be resolved的问题
I would like to thank the following people for taking the time to explain things that were unclear to me and for proofreading the document. Andrey A. Chernov <ache@freebsd.org> Bruce A. Mah ...
测试类报错Test cannot be resolved to a type-附件资源
This issue has been resolved. gpstart output was also enhanced to provide additional warnings and summary information about the number of skipped segments. For example: [WARNING]:-********
uni-app 请求拦截器
org.apache.commons.lang.exception.NestableRuntimeException cannot be resolved 解决 替换JAR包即可
Resolved issue 2975: Webdriver Actions for keys (CONTROL, SHIFT etc..) not working in ChromeDriver 75.0.3770.8 [Pri-2] Resolved issue 2947: No W3C compliant endpoints for retrieving logs [Pri-2] ...
Internal rounding error resolved. 10.Help button on Chart Editor not functioning. Now resolved. New features: 1. DeleteRange method added to permit block delete of several points from a Series....
如图,如果报The import android.support cannot be resolved或者android.support.v7.app.ActionBarActivity类似的错误。 解决方案一 :缺少相关依赖包,这里提供亲测有效的库文件,需要导入android-support-v7-...
org.apache.poi JAR包,解决个人的 import org.apache.commons.beanutils.PropertyUtilsBean; import org.apache.commons.lang.StringUtils;..."The import org.apache.poi cannot be resolved"的问题
> ★The type org.apache.http.NameValuePair cannot be resolved. It is indirectly referenced from required .class > ★BasicNameValuePair cannot be resolved to a type > ★HttpPost cannot be resolved to a...
download the latest version to see if the issue has been resolved. If not, please post a bug report in the user forum: https://www.xyplorer.com/xyfc/index.php Only as a last resort, send us a ...
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装