所以,一切都很好,不久之前,但当我试图在Android Studio中进行全屏活动时,我得到2个错误.
这似乎只发生在全屏活动中.
>找不到:com.androID.support:support-v4:21.
> Gradle项目同步失败.基本功能(例如编辑,调试)将无法正常工作.
错误图片:
http://i.imgur.com/71CQ2zA.png
http://i.imgur.com/omoX4mP.png
构建错误:
错误:配置项目’:app’时出现问题.
Could not resolve all dependencIEs for configuration ‘:app:_deBUGCompile’.
Could not find com.androID.support:support-v4:21.0.0.
Searched in the following locations:
there was 2 links here but I had to remove them because I don’t have enough rep.
required by:
MyApplication2:app:unspecifIEd
我尝试过的事情:
安装新的SDK和AndroID Studio.
安装较新版本的Java JDK. (无论如何我需要一个新的)
谷歌搜索.
解决方法:
试试这个:
dependencIEs {compile filetree(dir: 'libs', include: ['*.jar'])compile 'com.androID.support:appcompat-v7:21.0.0'}
并检查是否安装了支持库和支持存储库:
总结以上是内存溢出为你收集整理的找不到:com.android.support:support-v4:21.全部内容,希望文章能够帮你解决找不到:com.android.support:support-v4:21.所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)