How to run xamarin forms designer?
After startup, an error pops up:
The previewer requires a 64-bit version of Oracle Java JDK 8 (1.8) or higher. Please install it and then set the Java JDK location in the Xamarin Studio or Visual Studio preferences.
But I'm using version 1.8.
How to fix?
The Xamarin. Android Designer allows developers to create and modify declarative layouts visually, without requiring hand-editing of XML files. The Designer also provides real-time feedback that lets the developer evaluate UI changes without having to redeploy the application to a device or to an emulator.
You can open the XAML Previewer by clicking the arrows on the split view pane. If you want to change the default split view behavior, use the Tools > Options > Xamarin > Xamarin. Forms XAML Previewer dialog. In this dialog, you can select the default document view and the split orientation.
Start Visual Studio. Click File > New > Project to create a new project. In the new project dialog, select the Mobile App (Xamarin. Forms) template and click Next.
You aren't using the 64-bit install of JDK 1.8, you're using the 32-bit.
Install the 64-bit version and change that path you highlighted from:
C:\Program Files (x86)\Java\jdk1.8.0_101
to
C:\Program Files\Java\jdk1.8.0_101
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