While installing Xamarin Mono for Android, it says it cannot find Java SDK and Android SDK and it goes on to download them. But I have installed Java SDK and Android SDK.
I looked at the installation log (c:\users\\appdata\local\xamarin\monoforandroid) and found that it looked for registry keys: 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion' and 'SOFTWARE\JavaSoft\Java Development Kit', value 'CurrentVersion'. And it didn't find it. I looked in my registry and I see the key 'HKLM\SOFTWARE\JavaSoft\Java Development Kit'.
Why the setup doesn't see the key ?
The details from log are below:
[Info] Checking whether JDK needs to be installed.
[Debug] Attempting to read registry subkey 'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion'
[Debug] Attempting to read registry subkey 'SOFTWARE\JavaSoft\Java Development Kit', value 'CurrentVersion'
[Info] JDK not detected.
[Info] JDK 1.6 needs to be installed.
Is there a way to tell the installer that Java SDK and Android SDK are installed?