Original illustration unavailable
Today I encountered this error when using Xamarin Android.
It's an embarrassing error, it's keeping me from compiling my Android project. ๐
This is because the JDK referenced in Visual Studio does not match the JDK expected to compile my application.
My environment was referring to 1.7 JDK, but now Xamarin Android requires version 1.8 of JDK.
How to fix the JDK problem:
- Download the JDK 1.8 to: the official website
- Update the JDK location in Visual Studio to refer to JDK 1.8
- Restart the Visual Studio
Original illustration unavailable
Happy coding ๐