Can't find the class com.google.android.gms.location.LocationClient (android)

后端 未结 11 1754
离开以前
离开以前 2020-12-15 16:03

I have download a demo project from http://developer.android.com/training/location/retrieve-current.html, and I think I don\'t lost any steps; But I can\'t find which jar fi

11条回答
  •  情话喂你
    2020-12-15 16:49

    check below links

    The import com.google.android.gms cannot be resolved

    How to add google-play-services.jar project dependency so my project will run and present map

    Follow these steps and save your time

    1. Right Click on your Project Explorer.
    2. Select New-> Project -> Android Application Project from Existing Code
    3. Browse upto this path only - "C:\Users\User Name\Local\Android\sdk\extras\google\google_play_services"
    4. Be careful browse only up to - google_play_services and not up to google_play_services_lib

    And this way you are able to import the google play service lib. Let me know if you have any queries regarding the same.

提交回复
热议问题