android - GooglePlayServicesUtil cannot be found after update -


I've been using Google Play Services as part of my project for a few months. I am using eclipse.

I updated all my SDK etc. through the SDK manager on 1st November. Now the eclipse GooglePlayServicesUtilize the class can not be imported here I was describing it here:

Example:

  If (GooglePlayServicesUtil.isGooglePlayServicesAvailable (Context) == ConnectionResult.SUCCESS). ..}  

Although I have updated Google Play services and all my SDX through SDK Manager, my workspace has a local copy of Google Play services, such as Google Dev Page). So I'm not sure if my SDK Manager has an effect on the copy of the updated GPS. Has anyone else experienced this? The search around it looks like the documentation page (above), it is still the same as it has been for the past few months.

Thanks

Are you testing on your emulator? If so, then You need to use an emulator that matches your Google Play services library.

If this time is in compile, right-click the project name -> build path -> build Configure Path - -> Order and Export Ensure that Google Play service jar is checked if this order and free If you are not in the list of entries in the field, then go to the library and click Add Jars to add the library to your project. If you want to use the latest version downloaded through SDK Manager, make sure that You include JR in the SDK folder.

If that does not work, then put Jar in the Libs subdirectory of your project. .


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -