Wednesday, September 12, 2018

How to resolve "Cannot resolved symbol 'android'" error when apply GoogleMaps library?

Prerequisite

- Android Studio 3.1.4
  • Import GoogleMaps library to Android project, encounter error message "Cannot resolved symbol 'android'"

Steps to resolve
  • Click on "Tools" → "SDK Manager" to launch "Default Settings" window
  • Click on "SDK Tools" tab and select "Google play services" checkbox. 

  • Click on "File" → "Project Structure" to launch "Project Structure" window
  • Click on "Dependencies" tab, add "com.google.android.gms:play-services-maps:15.0.1" library, rebuild the project and the issue will be resolved.

1 comment:

Unknown said...

This is the fitting weblog for anybody who desires to seek out out about this topic. You realize so much its virtually onerous to argue with you (not that I really would want…HaHa). You definitely put a new spin on a topic thats been written about for years. Nice stuff, just nice! online gambling