AAPT: error: resource android:attr/dialogCornerRadius not found. Solution

Delete the sdk file by mistake and download it again:

Run the project compilation error:
AAPT: error: resource android:attr/dialogCornerRadius not found.
Solution:
Change the compileSdkVersion of build.gradle from 23 to 28, that is: compileSdkVersion 28
Insert picture description here
I use Android studio 3.5.2

Guess you like

Origin blog.csdn.net/drawababy/article/details/110161467