In the attachment, you can see intellij idea does not recognize any of the classes in the com.google.android.gms.maps or com.google.android packages. I have done the following to try to get google maps api working:
1) From SDK Manager, installed Google Play Services, Google Repository, Android Support Library, Android Support Repository
2) Copied google-play-services_lib from /usr/local/android-sdk-linux/extras/google (/usr/local is where I install 3rd party software) to project_root/libs.
3) Then under Project Structure > Modules, made sure google-play-services_lib is there. Selected it, clicked +, Jars and Directories..., and then selected google-play-services.jar. Checked export, Apply and Ok.
4) Restarted Intellij IDEA
But after that, I still get the compile errors as shown in the screenshot.
How can I successfully import google play services into intellij idea?
Attachment(s):google maps issues.png