Connection to the layout rendere failed. This may be caused by misconfiguration of Java
When i tried to run Xamarin and start developing app, opening layout files gives me the error:
Xamarin misconfiguration of java
Gone through a few articles and I found a solution as most users said that it worked for them.
Anyway, try this:
I just had this issue with a new Visual Studio 2017. VS was referencing the 64bit JDK instead of the 32bit one.
Just go to
Tools -> Options -> Xamarin -> Android Settings
and change to point to the x86 JDK which is in
Program Files (x86)\Java
rather than
Program Files\Java.
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