Installing Android Studio: Path to the JDK

4

A few weeks ago I installed Android Studio and was developing the project and "accidentally" deleted some folders that I should not (careless of me).

I did not find a solution to repair the deleted folders so I decided to uninstall the AS and install again.

But now I'm encountering a problem that's driving me serious for 2 days.

I have already looked for all kinds of help and always explain that the problem is in JAVA_PATH , HOME_PATH , PATH , CLASS_PATH , and so many others, but None of these system variables They solved my problem.

I have already removed and reinstalled the% JDK with% trillion times and the installer does not seem to find the path of the blessed.

Of course! There is a field for me to reference directly to it, but the error keeps popping up.

Thank you for understanding.

TL; DR

The error is that the system variables are set and I can not continue the installation of Android Studio.

EDITED 28/05

It turned out that I was able to install this morning.

I went to the control panel and had the JDK uninstalled. I do not know what I did, since the day I asked the question I tried to do it 4 times and it did not solve the problem.

Thank you all.

    
asked by anonymous 27.05.2016 / 13:53

1 answer

2

Download the most current Android Studio IDE, and download your JDK according to your 32bit or 64bit machine, so that your installation works, how do you know if your machine is 32bit or 64bit?

  

Type windows + r and type control and hit enter, now go to   System and there you will know and have the information.

Another important thing:

  • Under System
  • Advanced System Settings
  • System Properties
  • Advanced
  • Environment Variables
  

If you have - Variáveis de usuário - equal - Variáveis do sistema - your installation will always give error, delete the wrong - Variáveis de usuário - and include only those of the tutorial in - Variáveis do sistema - , as seen below.

- Wrong Mode -

-CorrectMode-

Also note JDK duplicates in, Valor da variável , example:

  C: \ Program Files \ Java \ jdk1.8.0_66 \ bin; C: \ Program Files \ Some   Software; C: \ Program Files \ Java \ jdk1.7.0_41 \ bin;

Keep only the most current JDK, do not duplicate entries in Valor da variável , like this:

  C: \ Program Files \ Java \ jdk1.8.0_66 \ bin; C: \ Program Files \ Some Software;

I mean the value of your JDK, it only appears once in each variable!

    
28.05.2016 / 21:24