I had the same problem and pulled out my hair. I have version 8 of the JDK installed, but these warnings will not disappear, and in the end they created a bug fix.
When I went to “Tools” → “Options” → “Xamarin” and looked at the Android settings, the location of the Java Development Kit pointed to jdk.1.7.xxxx in Program Files (x86) .
I changed it to 1.8.0_101, in Program Files . Then I restarted Visual Studio and an error occurred again. Somehow, Visual Studio detected Version 7 of the JDK and automatically pointed to it.
Thus, the solution turned out to be very simple. Like installing version 8 JDK, UNINSTALL Version 7 JDK. As soon as I did this, Xamarin turned out to be a lot better off. This step solved a whole bunch of seemingly unrelated problems.

Rob Lyndon Jul 23 '16 at 10:28 2016-07-23 22:28
source share