Android The import com.google cannot be resolved

前端 未结 14 1554
猫巷女王i
猫巷女王i 2020-12-09 04:41

I\'m trying to test LocationService example of Android developer as per following link http://developer.android.com/training/location/retrieve-current.html. At that time, er

14条回答
  •  难免孤独
    2020-12-09 05:15

    You can use this way. First of all close projects which are using google-play-services library. Whenever your mouse over the com.google.android.gms import that can not be resolved and towards the bottom of the popup menu, select the "Fix project setup" option as below. Then it'll prompt to import the google-play-services library.

    enter image description here

提交回复
热议问题