I have downloaded the java jdk, and the android sdk installer, but when I run the android sdk installer, it works fine until the screen where it checks for the java jdk.
It starts to not respond, then after about 15 seconds, a crash message pops up.
Any help with this issue?
Before installing Android SDK on your system you need to have a Java Development Kit, in short JDK. If you already have a JDK on your system its fine or you can download it from Oracle Website and then install Android SDK.
We had to install the OpenJDK, Android SDK and Android NDK package manually because those provided by Unity are not recognized as valid and thus do not work.
You can update your SDK path by clicking on the Edit option. After that select your SDK path, then click on Apply option, and then click on the OK option. Now sync your project with Gradle files to check that SDK is working fine.
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) or the Microsoft Mobile OpenJDK Preview.
it may be a bit late, no solution on the internet worked for me and finally out of desperation I deleted the registery key:
HKEY_LOCAL_MACHINE\Software\JavaSoft (not in Wow6432Node)
And it worked! I hope I just saved someone from looking for a solution for two hours like I did.
The issue for me was that I did not have the 32-bit version of the JDK installed. I only had the 64-bit version.
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