Can't open xamarin layout in .net framework

I am using .net framework 2015 with 8GB of RAM. my problem is that I cannot use xamarin with my framework. I cannot open xamarin layouts. as soon as i open xamarin layout this error appears.

Something went wrong. Rejection failure due to internal error. failed to initialize class mono.android.D3ImageFactory Details ava.lang.NoClassDefFoundError: Could not initialize class mono.android.D3DImageFactory in java.lang.Class.forName0 (native Method) in java.lang.Class.forName (Class.java: 264) to mono.android.DesignerSession.initializePlatformSpecific (DesignerSession.java:86) to mono.android.DesignerSession. (DesignerSession.java:75) at mono.android.Project.createSession (Project.java:382) at mono.android.Project.processMessage (Project.java:414) at mono.android.MessageListener.executeMessage (MessageListener.java: 88) at mono.android.MessageListener $ Runner.run (MessageListener.java:44) at java.lang.Thread.run (Thread.java:745)

tell me how to fix this problem.

+3


source to share


2 answers


The answer in this thread fixed it for me in VS 2015:



Please update to the latest JDK version (1.8 update 144) first. Then in VS go to Tools> Options> Xamarin and select the version of the installed JDK under C: \ Program Files ....

+2


source


I had the same D3DImageFactory error message when trying to load the constructor.

I went and uninstalled all jdk and jre versions and then installed the latest versions from the java website. when i next time got into poplar layout builder with no glitch or whatever.



I did it all today. So maybe tomorrow when I boot my car I might get the exception again.

+1


source







All Articles