After updating the Android SDK, I started Android Studio. Now its showing background task continuously running with message
Updating indices: Scannin
Unplug all the phones and plug them again, it gets working. It is related to adb as stated here : https://code.google.com/p/android/issues/detail?id=172387 and a known bug that is to be fixed in the future