I use Android Studio 3.0.1 on Ubuntu 16.04.
Yesterday, Android Studio popped up a message saying that there\'s an update available, and I always click those. It the
RELAX guys!
Actually hanging state may occur
and this may be after
updating packages
when you import or open a project into higher version of android studio like 2.4 -> 3.0.1 etc the main reason is that your previous app's state is saved with previous libraries and packages of android studio, So to solve this error is easy i.e
a) Tools->AVD->Edit->advanced settings. choose quick boot instead of cold boot (as answered by Kamel)
OR
b) if you already chosen 'Quick boot' then choose 'Cold boot', and restart emulator, it will work fine.