Andriod developers webpage (http://developer.android.com/sdk/index.html) recommended to download and install the executable installer "installer_r11-windows.exe". The installer always detect the JRE but cannot detect the JDK installed. This is because the installer searches "Java.exe" file at the "C:\Program Files\Java" folder alphabetically and sequentially. Usually JRE installed earlier reside in the folder and alphabetically, they are the first one to be found. Even with the path variable set to correct JDK directory, the installer always found the JRE only.
When I rename the "java.exe" the old JRE directory, the program can find the JDK installation and can continue with installation.
Or simply, download the "android-sdk_r11-windows.zip" file and unzip into a folder.
No comments:
Post a Comment