I am logging this issue and solution (below) as, for the second time, I find myself wasting hours on it.


Solution 1: andyw

Solution: File -> Settings -> Enter 'Android' into search bar. Select 'Android SDK'.

enter image description here

Select 'edit'. Intellij now asks to download the SDK (~800MB). Intellij becomes unresponsive whilst software downloads and installs (it seems clicking cancel waits until software has downloaded, to cancel). Takes about 5 minutes.

Once done AVD manager now active. enter image description here


Solution 2: Rahul Mahadik

File > Project Structure > Dependencies and set SDK. This will set your Android SDK in settings also

enter image description here

enter image description here