Get start with Android development

Firstly we should install the right version of JDK and JRE, there are two version of ADK for different bits , 32 and 64 bits, What I had learned is if the OS is 64 bits , We better download the 64bit ADK, So, the JDK version must be 64bits.

I encountered a problem when I switch the JDK from 32bit to 64bit. Below is what I have done:

1. uninstalled the 32bit JDK.

2. Download the 64bit JDK7.

3. install the JDK.

The installation of JDK doesn't add system variable like Path into the OS automatically. So we need manually add the Path JavaHomejrein to system variable.

and another issue is there also exsit the older version of Java.exe and Javaw.exe in the System32 directory.

So we need rename these two file to make them diable. otherwise the Java application like eclipse would search them in the System32 directory first. 

It means the ADK can not locate the right Java.exe and Javaw.exe version.

原文地址:https://www.cnblogs.com/malaikuangren/p/3330878.html