Java.lang.NullPointerException in mono.android.DesignerException.fromThrowable (DesignerException.java:30)

I use xamarin in visual studio 2013. But I get the following error when I open main.axmlwith a design view,

java.lang.NullPointerException in mono.android.DesignerException.fromThrowable (DesignerException.java:30) in mono.android.DesignerSession.checkRenderResultForError (DesignerSession.java:187) on mono.android.DesignerSession.load (DesignerSession.java:9) in mono.android.DesignerSession.processMessage (DesignerSession.java:702) in mono.android.MessageListener.executeMessage (MessageListener.java:88) in mono.android.MessageListener $ Runner.run (MessageListener.java:44) in java. lang.Thread.run (Thread.java:745)

How can I fix this problem?

+4
source share
1 answer

This is probably due to an error coming from one of the latest xamarin updates, as discussed here

Update Since I found the Xamarin visual editor to be almost unusable due to the number of bugs and quirks, I decided to install Android Studio, and in fact I use its cool visual editor, and then just copy and paste the XML code created in my axml file.

0
source

Source: https://habr.com/ru/post/1678488/


All Articles