Failed to find: com.android.support:support-v4:22.2.0

做~自己de王妃 提交于 2019-12-05 07:27:56

If this might help someone, after MANY trials and errors, I found that I was targeting the wrong SDK version (an older one) in the build.gradle file corresponding to "library". To change this you can do it by hand or go to the Module Settings Menu (right click on your project folder -> Open Module Settings. Then in "library" - Properties you can change the Compile Sdk and the Build Tools Versions

Using Android SDK Manager. Go to Extras and then Android Support Repository and update it to the latest version.

(This is essentially the comment @natario made, but it should be an answer.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!