Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot resolve symbol 'google' [closed]

I recently checked out some code from Git on Android Studio. The project uses Google Maps but when I check my imports such as import com.google.android.gms.maps.GoogleMap; I get an error when I highlight over google saying 'Cannot resolve symbol 'google''. Might anyone know why? Thanks!

like image 940
user1871869 Avatar asked Oct 03 '22 01:10

user1871869


1 Answers

You are suppose to add the google-play-services_lib library in your project. Also Add google-play-services.jar in the "libs" folder of your project.

Right click on your projects ---> properties ---> android --> select target name Google ApIs. And Clean projects and Build the projects.

EDITED:

Check out the Google Map Quick start.

like image 79
GrIsHu Avatar answered Oct 13 '22 11:10

GrIsHu