Error:(9, 5) error: resource android:attr/dialogCornerRadius not found

后端 未结 16 1988
攒了一身酷
攒了一身酷 2020-12-02 12:28

So I installed android studio 3.0.1 and as soon as it opened the gradle built and showed the following errors. I tried adding dependencies such as design and support but in

16条回答
  •  时光取名叫无心
    2020-12-02 13:29

    I had the exact same issue. The following thread helped me solve it. Just set your Compile SDK version to Android P.

    https://stackoverflow.com/a/49172361/1542720

    I fixed this issue by selecting:

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

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

提交回复
热议问题