Maybe you have to install the correct nuget package in the android project. Take a look to the other project which nugets you have in the android side
resource style/Theme.MaterialComponents.Light.DarkActionBar not found
Shay Wilner
1,746
Reputation points
Hello I updated the visual studio 2022 to Version 17.5.3 In platform xamarin android ,i created an android application projects. Because i didn't see the style xml file in values folder so i add it from another projects but now i get this error Error APT226 resource style/Theme.MaterialComponents.Light.DarkActionBar (aka com.kkk.project1:style/Theme.MaterialComponents.Light.DarkActionBar) not found project C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Aapt2.targets 156 Thanks