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

后端 未结 9 1820
孤街浪徒
孤街浪徒 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条回答
  •  萌比男神i
    2020-11-30 06:14

    Change the line compile 'com.android.support:design:+' to compile 'com.android.support:design:26.+'

    The gradle dependencies when the project is built is pulling down the latest versions since the + was telling it "get the latest version." the 26.+ will tell the build process to only update the latest version of v26.

    Or to be even more specific and safe, change the line to a specific version, avoiding the + altogether. i.e. compile 'com.android.support:design:27.1.0'

提交回复
热议问题