I am getting this error when i start an avd in android studio. Any help would be appreciated. And also unable to start android studio except from terminal.
PANIC:
Set the variable ANDROID_SDK_HOME to < home directory > / .android / .avd
For creating this variable under Win7, please go to control panel -> system -> advanced parameters -> environment variables. In the "user variables" block, Click on "new". Please fill the variable name and its value. Close all dialog by clickin on button "OK" and launch android studio.
Go through this link for more solutions if the above one doesn't work out for you.