I am trying to use appcompat in my application. I have done everything according to the instructions. But when I add android-support-v7-appcompat as a library in my proect,
With "compatibility" files problems you can try to delete / or rename for security any appcompat "project" in eclipse and create a new project using a compatibility mode (different target and "required" SDK values, equals to your version needs), it will generate a new appcompat project, remember to link your existing project to this appcompat project and check your lib for no duplicate compat. jar.
appcompat.jar
and v4-support.jar
from libs
folderclean ur project
How to add android-support-v7-appcompat as a library
import android-support-v7-appcompat
in eclipse as a library project and
check copy into workspace
android-support-v7-appcompat
as library in ur projectright click on ur project
-----> properties
------>android
------> add
I think this will help u
Before creating the project, run eclipse as Administrator so that it creates the jar in the location that it is referencing to.
Right click the eclipse icon and select the option"Run as Administrator"
Just do the following steps
Delete jar library from every directory you add. Then you need to add appcompat as a dependency. If you use Android Studio, you need to do as following:
add this
compile 'com.android.support:appcompat-v7:18.0.+'
into your gradle dependencies and after that, Build -> Rebuild Project.