Xamarin 4 - Android.Common.targets Error max res 21, skipping color-v23

VictorHGarciaVictorHGarcia USUniversity ✭✭
edited November 2015 in Xamarin.Android

Hello friends,

I updated to Xamarin 4 and Android SDK Manager and I got an error when trying to compile:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Tool exited with code: 1. Output: max res 21, skipping color-v23
max res 21, skipping drawable-v23
max res 21, skipping values-v22
max res 21, skipping values-v23
/Users/demo/projectcrm.Android/obj/Debug/resourcecache/053893A3E164BC46F1518CFC64246007/AndroidManifest.xml:28: Tag attribute authorities has invalid character '$'.
(projectcrm.Android)

Currently my project is set as this:
Build -> General -> Target Framework: Android 4.2 (JellyBean)
Build -> Android Application -> Minimum Android Version: Android 4.2 (Api Level 17)
Build -> Android Application -> Target Android Version: Android 5.0 (Api Level 21)

It was working just fine before upgrade. Also on this upgrade of Xamarin 4, I updated Google Play services to v27 and the appcompat as well.

any body has any idea why that could happen after upgrade?

Note: I have been moving some targets to different versions, basically playing around, but no luck yet.
If I set "Target Android Version: Android 6.0" I only get this error:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Tool exited with code: 1. Output: /Users/demo/projectcrm.Android/obj/Debug/resourcecache/053893A3E164BC46F1518CFC64246007/AndroidManifest.xml:28: Tag "provider" attribute authorities has invalid character '$'.
(projectcrm.Android)

My AndroidManifest.xml looks like this when selected(Android 6.0): File attached. (there is no "provider" tag in the manifest)

Thanks in advance and any tip is always welcome

Sign In or Register to comment.