Jar mismatch! Fix your dependencies. Found 2 versions of android-support-v4.jar in the dependency list

老子叫甜甜 提交于 2019-12-12 09:25:50

问题


In my existing project i want to add ActionBar for older versions less than api-11. So i imported android-support-v7-appcompact with resources following the official site.Till here every thing works fine. When i extended ActionBarActivity to my MainActivity.java the following error occurred in console, please see the screen shot.

android:minSdkVersion="10"
android:maxSdkVersion="19"
android:targetSdkVersion="16"

Project Build Target is 4.1.2 . Java Compiler is set to 1.6. I am also using facebook sdk in my project, so i deleted android-support-v4.jar file from the project libs folder but error did not go. Finally clean and build the project. Any suggestions PLEASE. Thanks in advance.

来源:https://stackoverflow.com/questions/22710152/jar-mismatch-fix-your-dependencies-found-2-versions-of-android-support-v4-jar

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