Error:(9, 5) Error: Resource Android:Attr/Dialogcornerradius Not Found

error: resource android:attr/colorError not found

You have your compile SDK version to 25, but you (or the libraries you depend on) use resources that were only added in API 28. Update your build.gradle file to use the newest compile SDK version:

android {
compileSdkVersion 28
...
}

error: resource android:attr/fontVariationSettings not found

try to change the compileSdkVersion to:

compileSdkVersion 28

fontVariationSettings added in api level 28. Api doc here

Unity Android plugin: error: resource android:attr/IStar not found

There was a bug with the Dependency Resolver, you can track down the related issue here, as well as a workaround I found in the mean time. Remember to switch off Enable Resolution On Build under Assets -> External Dependency Manager -> Android Resolver -> Settings.

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



Related Topics



Leave a reply



Submit