Was trying to debug an empty app and got "'Resource.Attribute' does not contain a definition for 'actionBarSize'" error. I have reinstalled android SDK's.
public static void UpdateIdValues()
{
global::Xamarin.Forms.Platform.Android.Resource.Attribute.actionBarSize = global::L1NQ.Droid.Resource.Attribute.actionBarSize;
}
public partial class Attribute
{
static Attribute()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Attribute()
{
}
}
These actions helped:
C:\Users{your username}\AppData\Local\Xamarin\zips
I had the same problem (and various more) after create a new .forms project (shared) with VS2015 Update 3 RC.
To the JDK 7, I had installed the version:
Java SE Development Kit Update 55
After I have downloaded and installed
Java SE Development Kit Update 79
from: Download JDK 7 - Update 79
and rebooted my machine
this problem (an various further problems) has gone.
This error can have also 2 other reasons.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With