[英]Visual Studio (xamarin) error "Xamarin.Android for Visual Studio requires Java Development Kit (JDK). Please click here to configure." 0
I was trying to download the Android emulator from visual studio to xamarin but it appears this error "Xamarin.Android for Visual Studio requires Java Development Kit (JDK). Please click here to configure". I was trying to download the Android emulator from visual studio to xamarin but it appears this error "Xamarin.Android for Visual Studio requires Java Development Kit (JDK). Please click here to configure". I tried to repair the instalationon Android SDK Manager and install other SDK but the error continues.
我试图修复 Android SDK Manager 上的安装并安装其他 SDK 但错误仍然存在。 I'll really be apreaciate if you help me.
如果你帮助我,我真的会很高兴。 Error on visual studio
视觉工作室错误
You can try to install android JDK manually.您可以尝试手动安装 android JDK。
Xamarin.Android
uses the Java Development Kit (JDK) to integrate with the Android SDK for building Android apps and running the Android designer. Xamarin.Android
uses the Java Development Kit (JDK) to integrate with the Android SDK for building Android apps and running the Android designer. The latest versions of the Android SDK (API 24 and higher) require JDK 8 (1.8).最新版本的 Android SDK(API 24 及更高版本)需要 JDK 8 (1.8)。
The steps are as follows:步骤如下:
1.Download JDK 8 (1.8) from the Oracle website : 1.从Oracle网站下载JDK 8(1.8):
3.Run the.exe and install the Development Tools. 3.运行.exe并安装开发工具。
4.Open Visual Studio and update the Java Development Kit Location to point to the new JDK under Tools > Options > Xamarin > Android Settings > Java Development Kit Location. 4.Open Visual Studio and update the Java Development Kit Location to point to the new JDK under Tools > Options > Xamarin > Android Settings > Java Development Kit Location.
For more information, you can check: https://learn.microsoft.com/en-us/xamarin/android/troubleshooting/questions/update-jdk?tabs=windows .有关更多信息,您可以查看: https://learn.microsoft.com/en-us/xamarin/android/troubleshooting/questions/update-jdk?tabs=windows 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.