Visual Studio 2015 Designer Error

GaryParkinGaryParkin USMember ✭✭

I get an exception of type 'Xamarin.Designer.DesignerException' was thrown.

Bridge [resources.resolve] Couldn't resolve resource @style/ThemeOverlay.AppCompat.DarkBridge [resources.resolve] Couldn't resolve resource @style/ThemeOverlay.AppCompat.DarkBridge [resources.resolve] Couldn't resolve resource @style/TextAppearance.AppCompat.Body1Bridge [resources.resolve] Couldn't resolve resource @style/TextAppearance.AppCompat.Body1java.lang.NullPointerException
at java.lang.String$CaseInsensitiveComparator.compare(String.java:1176)
at java.lang.String$CaseInsensitiveComparator.compare(String.java:1170)
at java.util.TreeMap.getEntryUsingComparator(TreeMap.java:369)
at java.util.TreeMap.getEntry(TreeMap.java:340)
at java.util.TreeMap.get(TreeMap.java:273)
at com.android.ide.common.resources.ResourceResolver.getStyleFromMap(ResourceResolver.java:661)
at com.android.ide.common.resources.ResourceResolver.getStyle(ResourceResolver.java:590)
at com.android.layoutlib.bridge.android.BridgeContext.obtainStyledAttributes(BridgeContext.java:621)
at android.content.res.Resources_Theme_Delegate.obtainStyledAttributes(Resources_Theme_Delegate.java:71)
at android.content.res.Resources$Theme.obtainStyledAttributes(Resources.java:1512)
at android.widget.TextView.(TextView.java:728)
at android.widget.TextView.(TextView.java:671)
at android.widget.TextView.(TextView.java:667)
at com.android.layoutlib.bridge.MockView.(MockView.java:50)
at com.android.layoutlib.bridge.MockView.(MockView.java:45)
at com.android.layoutlib.bridge.MockView.(MockView.java:41)
at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:163)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:835)
at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:811)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:229)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:426)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350)
at mono.android.DesignerSession.load(DesignerSession.java:170)
at mono.android.DesignerSession.processMessage(DesignerSession.java:640)
at mono.android.MessageListener.executeMessage(MessageListener.java:87)
at mono.android.MessageListener$Runner.run(MessageListener.java:44)
at java.lang.Thread.run(Thread.java:745)
mono.android.DesignerException
at mono.android.DesignerSession.load(DesignerSession.java:186)
at mono.android.DesignerSession.processMessage(DesignerSession.java:640)
at mono.android.MessageListener.executeMessage(MessageListener.java:87)
at mono.android.MessageListener$Runner.run(MessageListener.java:44)
at java.lang.Thread.run(Thread.java:745)

This is the asml file. It's for a nav header

<?xml version="1.0" encoding="utf-8"?>



It compiles and ruins fine.

VS2015, Update 3
Android sdk 25.1.7

My intellisense tells me things are wrong when they are not too. (Another thread)

Posts

Sign In or Register to comment.