'Error "option --boot-class-path not allowed with target 12" in Xamarin

Recently I Installed Xamarin in My Visual Studio 2017. And I Have Lots Of Problems For Installing It. Now All Of My Problems Fixed With Searching On Google Except This. The VS Code Gives Me This Error When I Want To Build My App:

option --boot-class-path not allowed with target 12

How Can I Fix It?

This Is My Project Link



Solution 1:[1]

It seems, this issue comes with latest version of JDK only. Xamarin in Visual Studio 2015 is compatible till JDK 8. Try downgrading your JDK. I could fix it this way.

Similar discussion you can find here: https://xamarin.github.io/bugzilla-archives/52/52178/bug.html

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sisir