I got an unpredictable error when i build the android project in xamarin forms.
error is looks like,
@DiptejThakkar you can add the color in the colors.xml like following code.
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
Then, use it in the item of style.
@LeonLu Thanks for your reply,
I found the solutions related to monoversion conflict. i replace the monoversion81 to monoversion90. then its work perfectly.
Thanks once again.
@DipakPatil You are welcome, please mark your reply as answer, it will help others who have similar issue. But i recommand you to set the color in the colors.xml file, it more compliance with specifications
We are experiencing the same issue but setting the target framework doesn't appear to be helping:
error APT0000: expected reference but got (raw string) #000000.
error APT0000: failed linking references.
We've set the target framework to monandroid90 for everything in the packages.config , but no luck.
Make sure you replace all references in BOTH the packages.config and the .csproj then delete Bin, Obj, .VS folders, clean and rebuild.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies