I know this have been asked many of times before but i've read through all of the answers for this problem yet i haven't been able to solve this issue.
My installer finds the JDK (never had the problem of it not finding it) but after the install process when it want's to download libraries a cmd looking window pops up in the background and a window telling me to add a certain path to the "Path" variable shows up. I do as it says but still the same problem.
I've tried both x86 and 64x jdk's and jre's but nothing seems to fix this. When i had the x86 jdk installed it couldn't find the jdk and the back-next trick wouldn't fix it. I've also tried editing the registry like shown in this topic: Android SDK install problem but that didn't change anything (also, the changes doesn't appear in the export of the key i make after importing the one with the changes.)
Any help is greatly appreciated as i've tried to install this for months now Thanks