Upgraded to Android Studio 0.2.0 and got the following error. The error got resolved after applying suggested solution but now the following error appeared.
I am a Windows user. The solution that worked for me was to remove the previous version of Android Studio:
http://developer.android.com/sdk/installing/studio.html#Updating