appcompat-v7:21.0.0': No resource found that matches the given name: attr 'android:actionModeShareDrawable'

后端 未结 14 1908
不思量自难忘°
不思量自难忘° 2020-11-22 05:03

When attempting to use the latest appcompat-v7 support library in my project, I get the following error:

/Users/greg/dev/mobile/android_project/app/build/int         


        
14条回答
  •  长情又很酷
    2020-11-22 05:19

    `Follow below steps:

    its working for me.To resolve this issue,

    1.Right Click on appcompat_v7 library and select Properties

    2.Now, Click on Android Option, Set Project Build Path as Android 5.0 (API level 21) Apply Changes.

    3.Now go to project.properties file under appcompat_v7 library,

    4.Set the project target as : target=android-21

    5.Now Clean + Build appcompat_v7 library and your projects`

提交回复
热议问题