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

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

    I had added another project to my workspace and was trying to reference an activity from it in the manifest file, and I was getting this error. The problem is I was referencing the library incorrectly. This is how I fixed the problem:

    • Right click on project
    • Select Properties
    • Click on Android on left menu
    • Click on Add
    • Please select a Library Project

    The jar went into Android Dependencies folder and this error was fixed.

提交回复
热议问题