Android No resource found that matches given name Error -
i have set app's min sdk version jelly bean. (created kit kat) after error occurred.
android studio : no resource found matches given name: attr 'android:actionmodesharedrawable'
how can solve ?
from error
no resource found matches given name: attr 'android:actionmodesharedrawable'
the issue compling application lower target.
appcompat v21 builds themes require new apis provided in api 21 (android 5.0). compile application appcompat, must compile against api 21. recommended setup compiling/building api 21 compilesdkversion
of 21 , buildtoolsversion of 21.0.1 (which highest @ time - want use latest build tools).
make sure value target (which tells target android version) in project.properties file of both project folder , appcompat_v7 folder same
: inside 'your_project'/project.properties target=android-21 android.library.reference.1=../appcompat_v7
and
: inside appcompat_v7/project.properties target=android-21 android.library=true
and after don't forget clean project .
hope helps!
Comments
Post a Comment