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

I fixed this issue by selecting

API 27+: Android API 27, P preview (Preview)

in the project structure settings. Following image shows my setting. The 13 errors that were coming while building the app, have disappeared.

My Gradle settings

Leave a Comment