Hello Guys this is more common now a days when you are going to install android sdk it says a message that JDK not detected on your PC but in actual you have installed Java development kit on your PC. this issue is more common when you try to install android SDK on widows 7 64 bit operating system. to resole this issue you gotta follow following steps:
