I have been trying to set up my android to begin my development lessons all day without success. I have installed the Java JDK kit
and I\'m trying to install th
The problem is there are two Java files and the installer picks the first one that it finds; The solution, however, is simple:
rename c:\windows\system\java.exe
to c:\windows\system\java.exe.orj
, then restart the installer, and everything should be fine.
It will now use the version of java.exe installed in Program Files\Java instead which solves the issue.
The only thing you had to do, was to set the path to the jdk source folder.
"C:\Program Files\Java\jdk1.7.0_03\"
That worked for me having that error.
To install Android and work with Android Studio on your first app, here are the step by step instructions:
Whereas while installing Android, you need to also set Environment variables.
To set Environment Variables, the same steps are followed while installing Java to set JDK.
Go to Control Panel > System > Advanced System Settings > Advanced tab > Environment Variables.
Under System Variable, click Path, then New and add the JDK path.
you just need delete the "java.exe" of "C:\windows\System32\", and reset the java environment(JAVA_HOME,CLASSPATH,PATH), then you will successful pass this step.
By the way , i am under Windows7 X64
I fixed this issue follow these steps:
right click my computer->properties->advanced system settings->advanced tab->click environmental variable
under system variales press new to create and new system variable
give it name JAVA_HOME and give url to folder where java is installed
e.g C:\Program Files\Java\jdk1.7.0_05
and then re-run sdk
I had faced the same error while installing android, try system restore and then reinstall jre and jdk