Hello @Shay Wilner ,
I'm glad that you have solved the issue. I would like to add some additional information that might be helpful for others facing a similar problem.
The AAPT2144 error you're seeing is caused by an invalid resource folder name. Android only recognizes specific folder names under the Resources directory, and animation is not one of them.
This is not a Microsoft website, but it is official Android documentation that applies to all Android development.
For animation files, you should use:
-
anim– for tween animations (rotate, scale, translate, etc.) -
animator– for property animations (API level 11+)
Try renaming your Resources\animation folder to Resources\anim or Resources\animator, depending on the type of animations you're using.
You can find more details in the Default Resources documentation.
Also, make sure your XML file names follow Android's naming rules: lowercase letters, numbers, and underscores only.
After renaming, clean and rebuild your project.
Additionally, since you're using .NET for Android, keep in mind that Xamarin is out of support. Consider migrating to MAUI for future projects, as it is the recommended framework moving forward.