2

This may be related to this or this.

But it seems like those solutions didn't solve this error for me.

This is my errorenter image description here

This is the XML

<?xml version="1.0" encoding="UTF-8" ?>
<resources>

  <style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="colorPrimary">#2196F3</item>
    <item name="drawerArrowStyle">@style/MyDrawerArrowStyle</item>
  </style>

  <style name="MyDrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
    <item name="color">#F5F5F5</item>
    <item name="spinBars">true</item>
  </style>

</resources>

Yes I've got the references to the Xamarin.Android.Support.v4 and Xamarin.Android.Support.v7.AppCompat dll's.

Really weird because when my project is in Debug mode it runs without giving me any error. This error only occurs when it's in Release mode and I try to create an APK file for mobile testing.enter image description here

Community
  • 1
  • 1
  • Make sure you rebuild you project for release. The release code may be using an older version of your source code. To make sure project completely rebuilds delete the bin folder in project which will force the entire code to rebuild. Backup bin folder before deleting just incase you improperly have source code in folder. – jdweng Nov 24 '15 at 14:18
  • 2
    please do NOT post error messages as images. Google cannot index an image. Take the time to paste and format the text of the error message appropriately. – Jason Nov 24 '15 at 15:03

1 Answers1

0

Build your app, with latest platform Android 6.O

Pucho Eric
  • 505
  • 4
  • 10