I'm getting similar error in all my apps (which were working OK) after update (UI 2.0 Android 11) in my realme 5 pro. See error message below:
error: resource android:style/Theme.Material.Light.DarkActionBar not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:5: error: style attribute 'android:attr/colorAccent' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:6: error: style attribute 'android:attr/colorControlHighlight' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:7: error: style attribute 'android:attr/colorControlNormal' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:3: error: style attribute 'android:attr/colorPrimary' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:4: error: style attribute 'android:attr/colorPrimaryDark' not found. error: resource android:style/Theme.Material.Light.NoActionBar.Fullscreen not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:12: error: style attribute 'android:attr/colorAccent' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:13: error: style attribute 'android:attr/colorControlHighlight' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:14: error: style attribute 'android:attr/colorControlNormal' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:10: error: style attribute 'android:attr/colorPrimary' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:11: error: style attribute 'android:attr/colorPrimaryDark' not found. error: resource android:style/Theme.Material.Light.NoActionBar not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:19: error: style attribute 'android:attr/colorAccent' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:20: error: style attribute 'android:attr/colorControlHighlight' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:21: error: style attribute 'android:attr/colorControlNormal' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:17: error: style attribute 'android:attr/colorPrimary' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:18: error: style attribute 'android:attr/colorPrimaryDark' not found. /storage/emulated/0/.sketchware/mysc/632/app/src/main/res/values/styles.xml:24: error: style attribute 'android:attr/windowFullscreen' not found. error: failed linking references.