Appcompat V7 And Actionbaractivity
Solution 1:
In project.properties for Your project android-support-v7-appcompat Make sure target value as follow. Project target.
target=android-21android.library=true
once you done Clean your Project. I hope this works.
Solution 2:
In project.properties
of both your project and android-support-v7-appcompat
(under res
), comment out the target api if not target=android-21
and place the new target code there.
If this doesn't work, or you can't use 21+ api, make sure in your app's project.properties
that android.library=false
.
Next check your project's Referenced Libraries
does not contain v4 in the buildpath. I believe I'm saying this correctly, that v7-appcompat
required it (the previous version), but that it is included within the android-support-v7-appcompat
file and thus the duplicate entries cause a problem.
Solution 3:
I got this problem too. I found many solutions that you must update to Android 5.0 API leveL 21..you can see one of the solutions for updating all IDE. HERE
..
(Note : Following method is my second way solution for me.)
If you don't want to update, you can try existing API level..I found solution in my way is that when you create the new android application project, choose as follow
minSdkVersion= API 14 ,
targetSdkVersion=API 17 ,
compiled with=API 17
Hope, this will help!
Post a Comment for "Appcompat V7 And Actionbaractivity"