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

后端 未结 14 2088
不思量自难忘°
不思量自难忘° 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:31

    In case you don't want to use API 21 as the target API, and thus you don' t want to use the Material Theme, you have to use an older revision belonging to API 19 >

    compile "com.android.support:appcompat-v7:19.0.+"
    

    This also helps solving your problem, it only depends on what you want to achieve.

提交回复
热议问题