No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius')

后端 未结 9 1837
孤街浪徒
孤街浪徒 2020-11-30 05:42

Can anybody help why I am getting an error in the following?

Error:(7, 41) No resource found that matches the given name (at \'dialogCornerRadius\'

9条回答
  •  孤街浪徒
    2020-11-30 06:37

    Change the following depedencies in your gradle:


    compile 'com.android.support:design:+'
    

    to:

    compile 'com.android.support:design:26.1.0'
    

    'com.android.support:appcompat-v7:26.+'
    

    to:

    'com.android.support:appcompat-v7:26.1.0'
    

    Please note that you can specify any version, but make sure they both have the same version.

    This will make sure that values-28.xml file is not created.

提交回复
热议问题