I had exactly the same problem, but the conditions leading to it are rather unusual.
I downloaded the Android SDK as a zip file and did not transfer it to /opt .
However, permissions did not allow normal users to enter all directories or execute all files ... therefore, when IntelliJ indexed the SDK, it only picked up the res jar ... and never added sources to the library path
Removing the SDK, fixing the permissions issue in the SDK and creating a new link in IntelliJ has been fixed.
fommil
source share