Android resource linking failed error solution

Android resource linking failed
D:\xxx\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
D:\xxx\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
D:\xxx\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2745: error: resource android:attr/fontVariationSettings not found.
D:\xxx\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2746: error: resource android:attr/ttcIndex not found.
error: failed linking references.

The above resource path is not a path customized by the app project, indicating that it is an internal resource problem of the compilation system, so the compilation version number and compilation tool version number are lower than the target version number.

Modify the following issues to solve the problem:

If the path displayed in this Android resource linking failed error is that the app's custom resource cannot be found, follow the prompt path and line number and modify it accordingly.

Guess you like

Origin blog.csdn.net/anfenggang/article/details/130968317