Menu
  • HOME
  • TAGS

How does Google Play Service install applications on the background without user interaction

android,google-play,google-play-services

Only system apps can install packages without interaction. System apps have root-like access rights. Google play is the system application, and is able to install packages in background without confirmation. that's the only reason.

Instance ID in iOS?

ios,swift,google-play-services

I think you're supposed to use CocoaPods to install it. https://cocoapods.org/pods/GGLInstanceID...

Team member deleted from the google developer account

android,google-play,google-play-services,google-account

The admin always has the access. If you delete him, you get the access right.

Can't find Google fit class

java,android,android-studio,google-play-services,google-fit

The API has changed slightly since that video was released. See the SensorApi documentation for more details. The DataSourceListener has been replaced by the OnDataPointListener which is used in a call to SensorApi.add(GoogleApiClient, SensorRequest, OnDataPointListener).

Google Play game services | ShowSelectSavedGameUI Unity android

unity3d,google-play-services,android-savedstate

This problem got solved by breaking this into two parts, On game start call Activate platform. And then call for login.

android - google play services 7.3.0 causes crash

android,google-play-services

I think I have found the root cause for it, in your build.gradle(app) file inside defaultConfig, set multiDexEnabled flag to true (MultiDex) Put compile dependency compile 'com.android.support:multidex:1.0.0' under dependencies Now, in your Application class, add this @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); MultiDex.install(this); } This works....

Extending broadcastReceiver to track INSTALL_REFERRER with multiple services

android,google-analytics,google-play-services,install-referrer

Try extending CampaignTrackingReceiver instead of BroadcastReceiver. Then in your onReceive method call super.onReceive(context, intent); Also you are calling the Service from the Receiver. Analytics provides both the CampaignTrackingService and CampaignTrackingReceiver. When you are providing your own receiver implementation you should pass the call to Analytics CampaignTrackingReceiver.onReceive instead of direct call...

How to specify google play services dependency in maven

android,maven,google-play-services

From Google-Developers: In versions of Google Play services prior to 6.5, you had to compile the entire package of APIs into your app. In some cases, doing so made it more difficult to keep the number of methods in your app (including framework APIs, library methods, and your own code)...

How to publish leaderboard on Google Plus from Google Play Games lib in Android

android,google-play-services,google-play-games

You should see this tutorial. http://www.androidhive.info/2014/02/android-login-with-google-plus-account-1/

“Select ”Import from existing model- Gradle“ ” - Whaaa?

android,android-studio,google-play-services

After you have selected a folder to import as an Android Studio project in the next step you will be presented with a dialog that allows you to select how to import the project. 'Import from external model - Gradle' is one of the options. I believe the instructions you...

onHandleIntent not firing with location updates

java,android,google-play-services,android-location

Can you tell me is there something I'm doing wrong? First, a Service is a Context. You do not need to — or even want to — pass in some Context to it. Second, your constructor should never be used. Replace it with a zero-argument constructor. Third, start() and...

Add a marker to a dynamic Google Map

android,google-maps,google-play-services,marker,supportmapfragment

Instead of Making new instance of SupportMapFragment, you should try extending SupportMapFragment class. Check this.

Problems implementing the new GCM Client for Android

java,android,eclipse,android-gcm,google-play-services

I saw that the method getNoBackupFilesDir is found in android.support.v4.content.ContextCompat. Seems that the problem was that I had an old appcompat-v7 included in the project. Download with the SDK manager the last version of Android Support Library and then follow the steps for Adding libraries with resources and add the...

replacing com.google.android.gms:play-services with google-play-services.jar

android,google-play-services,google-maps-api-2

google-play-services.jar will only interract with installed play services on the smartphone. You can't emmbed the play service application in your apk, there's nos sense. For peoples who want to use your application, they need to download it by the play store or maybe they already have google music or google...

How to install Google Play Service 7.3.0 or above in Android Emulator?

android,android-studio,google-play-services

Thanks Murtaza for contributing to this but I found the solution in between all this. I was using Google API image in Emulator where the Google Play Services are already installed. So we have 2 options of Uninstalling/Reinstalling them, of which NONE worked. What I did was downloaded the APK...

How should I Implement TBMP Rematch?

android,google-play-services,android-notifications,google-play-games

I realized that I didn't have a listener registered for invitations. After registering one, I was able to achieve my desired functionality. I'm relieved that it's working, but it would have been nice to notice that much sooner...

import com.google.android.gms.common.api.GoogleApiClient; cannot be resolved

android,google-plus,google-play-services

[Solved] I try to download new version of google-play-services library and import error is gone. So, always update/download newest version of google-play-services library.....

Detecting out of date ITurnBasedMatch on Android

android,google-play-services,multiplayer,google-play-games

I eneded up using the Serializable attribute built into C#. I chose this route, as it gracefully handles issues around versioning. More information can be found here: https://msdn.microsoft.com/en-us/library/7ay27kt9(v=vs.110).aspx...

Prevent starting GcmTaskService twice

android,google-play-services

What you describe there is why setUpdateCurrent was introduced - apps wanted a way to "only schedule their task if it didn't already exist" But what do you mean by "how do i prevent that the task is running twice"? You are scheduling a PeriodicTask, which means that the task...

Google play services | Cloud saved game | Fetch friends game state

unity3d,google-play-services,google-play-games,google-cloud-save

Parse.com might be a good solution for this. It's a cloud database (with support for cloud logic), integrated well with programming languages (including Unity/C#/Javascript).

Bypassing install permission programmatically for enterprise apps from third-party sources

android,google-play,apk,google-play-services,android-install-apk

The solution that I can think of to installing company apps is to upload an installer app to Google Play that has been developed specifically by the company and used only for the company, even if it's available to everyone in Google Play. I'm pretty certain that only the...

java.lang.NoClassDefFoundError for any google-play-services feature

java,android,eclipse,google-play-services

I wasted a lot of time of findout the solution. The core of bug is Android SDK updating went wrong, old version of Eclipse, not enought memory for Eclipse Java Machine (more detailed about memory bug here). Even I've tryed to update build tools, API, etc. it didn't work. But...

cannot get folderId that i just created on google drive

android,google-drive-sdk,google-play-services,google-drive-android-api

Do not mix DriveId with ResourceId. Both look like strings, but DriveId is different from ResourceId. See SO 21800257. Also, ResourceId is not immediately available, see SO 22874657. DriveId usually looks like: "DriveId:CAESHDBCMW1RVblahblahblahblahMYjAUgssy8yYFRTTNKRU55" whereas ResourceId is more like: "UW2ablahblaghblahNy00Ums0B1mQ" UPDATE: Since so many developers fight this issue, I'll try to...

I can't see my app in beta distribution

android,google-play,google-play-services

Beta versions are not searcheable on Google Play. Even if you are one of the beta testers. Source: https://support.google.com/googleplay/android-developer/troubleshooter/3055329?hl=en...

Issue with Google Fit API on Android Wear

android,google-play-services,android-wear

Actually the Fit API is available on Android Wear devices. But you still have to do the initial setup (Step 5) one time on a paired handheld device. Once you've logged in and displayed the consent screen on the phone, you can access the API from the watch. A recommendation...

android google map API key error

java,android,google-maps,google-play-services,google-maps-api-2

As the error suggests, your AndroidManifest.xml must contain: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> ...

Unable to execute dex: GC overhead limit exceeded, Google Play Services. Freeze when launching

java,android,eclipse,osx,google-play-services

PROBLEM FINALLY SOLVED My Mac osx computer had Eclipse installed in two places, one in applications (Where I canged the .ini) and one in Downloads, which I had not touched. ... osx, this took some hours....

Adding Google Play Services library to Qt project

java,android,qt,google-play-services

Well, I've managed to fix this errors by including android support library into my project by copying it from android-sdk\extras\android\support\v4 to PROJECT_DIR\ANDROID_PACKAGE_SOURCE_DIR\libs folder.

mGoogleApiClient.isConnected() returns null

android,google-play-services,google-api-client

The Problem is with mGoogleApiClient.isConnected(), it gives you false and that's why it is unable to perform the further working. If you just remove the if(mGoogleApiClient.isConnected()) part, it will work. Do it like this: public void showPlaces() { PendingResult<PlaceLikelihoodBuffer> result = Places.PlaceDetectionApi.getCurrentPlace(mGoogleApiClient, null); result.setResultCallback(new ResultCallback<PlaceLikelihoodBuffer>() { @Override public void onResult(PlaceLikelihoodBuffer...

View leaderboard for app in Google Play Games

android,google-play-services,google-play-games

The leaderboard can only be viewed in-app, you can only see how many people improved their scores in console and other stadistics.

UNEXPECTED TOP-LEVEL EXCEPTION when adding play-services

android,google-play-services,build.gradle

You may hitted the 65k methods limit. To use Google Play Services with more granularity, follow this guide, you can use only parts that you want. Probably this will fix your problem

java.lang.NoClassDefFoundError: com.google.android.gms.gcm.GoogleCloudMessaging using java.lang.NoClassDefFoundError:

java,android,eclipse,google-play-services,google-cloud-messaging

The problem is the bug of SDK and Eclipse. The library google-play-service.jar didn't attached in a proper way. Just full reinstalling Eclipse (with ADT) and SDK helped to me. The connected question about all classes (not only Cloud Messages) is here. Do not forget about memory increasing in eclipse.ini file.

App Invites for Android: Message failed to send with missing container client ID

android,google-play-services

This happens because you used the SHA1 fingerprint from your release key. But the build you test is signed with the android debug key.

Access Google+ photos from Android app

android,google-play-services,picasa

Picassa API This is the Picassa API. Enjoy it....

LocationServices.SettingsApi Reset SETTINGS_CHANGE_UNAVAILABLE flag

android,google-play-services

LocationSettingsRequest.Builder has a method setAlwaysShow that, even if documentation says that currently does nothing, changes the buttons of the dialog. Instead the default Yes, Not now and Never buttons if you call setAlwaysShow(true); you will have only Yes and No, so the user won't choose Never and you will never...

Proguarding Google Play Services 7.+ results in com.google.android.gms.internal.zzig: can't find referenced method 'boolean isAttachedToWindow()'

android,google-play-services,proguard,android-proguard

Make sure you are compileSDK is >= 19. View#isAttachedToWindow was added in 19.

get current location with runOnUiThread

java,android,geolocation,google-play-services

Well there are a few ways to get the expected result. Let me write the steps for one of them: a) Use a ProgressDialog and start it in onCreate b) Move the getForecast() from onCreate c) In the onConnected method, once the lat and long are available, check if the...

Google Play Services 7.0 settings Dialog

android,google-play-services

I think you can check sample project by google

Google Services After Updating

java,android,google-play-services

I solved this by basically moving my project to a different location and changing GooglePlayServicesClient with GoogleApiClient wherever possible. Now it compiles and works fine, hopefully this will help some other fella. Also this site kind of explains how to update to the new GoogleApiClient. Updating to GoogleApiClient...

how to implement multiple(for different game levels) leaderboard in android libgdx game?

android,libgdx,google-play-services

To send score to multiple leaderboard there is a need to create all those multiple leaderboard and just send score to particular one. To call all leaderboard at once on single button click use this on getleaderboard() startActivityForResult( Games.Leaderboards.getAllLeaderboardsIntent( gameHelper.getApiClient()), 1 ); . Might help somebody. ...

Auto-Deploy to Google-Play Store

android,google-play,google-play-services

You can use gradle-play-publisher. Add this to your gradle dependancies: classpath 'com.github.triplet.gradle:play-publisher:1.0.2' Set up your credentials play { serviceAccountEmail = 'your-service-account-email' pk12File = file('key.p12') } And you can build and upload your apk using gradlew publishRelease ...

Why do I have java.lang.ClassnotFoundException while implementing location listener? (using ECLIPSE)

java,android,eclipse,location,google-play-services

The error suggests that the classes from the google-play-service project are not loading. Make sure you are referencing a copy of the project in your workspace, and not the copy that is in the sdk directory. Try doing that or deleting the google service project from your workspace and redoing...

Is it possible to use the GoogleApiClient in an Android app without Google+ sign in?

android,google-maps,google-plus,google-play-services,facebook-android-sdk

It entirely depends on what APIs you have added to your GoogleApiClient via addApi - if you include an API that requires login (such as Plus.API, then yes, you will need the user to sign in. If however, you only include APIs that do not require login (such as LocationServices.API),...

Is the user required to be logged in to Google Play if I am using Google Play Services?

android,google-play-services,android-location

No You are not required to be login to Google Play services in the device Just Google Play Services is required to be installed in the device which is running the apk ...

App Invites for Android: How to set received message content

android,google-play-services,google-app-invites

If you add it to your own app it shows the play store content automatically.

Android Wear Error ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null}

android,google-play-services,android-wear,moto-360,data-layer

I have a similar problem when I use Google Play Services on ASUS ZenWatch, In wearable always throw error: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null Google Play services out of date. Requires 7327000 but found 6774534 I found wearable and handheld Google Play Services may be not syncing, I don't know why. So, check...

Android Studio USB Debugging Google Play Services Out Of Date

android,android-studio,google-play-services,usb-debugging

Your device should have the latest Google Play Services Your project should have the latest Google Play Services Gradle configuration: dependencies { compile 'com.google.android.gms:play-services:7.3.0' } Use GoogleApiAvailability class to check for this on the device ...

Android native extension - Could not find class 'com.google.android.gms.ads.AdView'

admob,google-play-services

The problem was I wasn't building the .ane file right. This blog helped me and I got it working: http://jmsliu.com/2143/add-admob-ads-in-flash-based-android-apps.html Specifically, i had no idea i had to include: google-play-services-res: this folder contains all resource required by google play service lib. It is copied from google play services lib. You...

Android Studio: cannot upgrade google play services

android,google-maps,android-studio,google-play-services,google-play-developer-api

If you are using Android Studio open the build.gradle file and enter inside dependencies dependencies { compile 'com.google.android.gms:play-services:4.2.+' } more info Add Google Play Services to Your Project...

All libraries are showing error after updating SDK version to 24.3 in Android

android,svn,google-play-services,subclipse,android-sdk-tools

Finally I solved the issue by deleting two apis i.e API 22(Android M) and Tools. Don't know why the issue is coming after installing these APIs. After all I'm able to get R.java classes and recompile the apps. I have attached a image of both packages after deleting. ...

Google old GCM vs. Google New GoogleCloudMessaging

android,android-gcm,google-play-services,google-cloud-messaging

gcm.jar is the old client library used for registration to GCM and receiving GCM messages in the app. It is deprecated, and therefore you are advised not to use it. Since it's deprecated, it's more likely to have more problems and work in less devices than the GoogleCloudMessaging class of...

(Android) How to retrieve current location using Google Play Services

java,android,location,google-play-services

You can use the fused location provider APIs in the Google Play Service library to retrieve the device's last known location: Location lastLocation = LocationServices.FusedLocationApi .getLastLocation(mGoogleApiClient); if (lastLocation != null) { double latitude = lastLocation.getLatitude(); double longitude = lastLocation.getLongitude(); //Once you get the coordinates, you can retrieve the city name...

AdMob ads not showing, getting Ad is not visible. Not refreshing ad

android,admob,google-play-services

You should post your complete code. If you haven't attached the adView to your layout, you can do so in the following manner: RelativeLayout.LayoutParams adViewParams = new RelativeLayout.LayoutParams( RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); adViewParams.addRule(RelativeLayout.CENTER_HORIZONTAL | RelativeLayout.ALIGN_PARENT_TOP); RelativeLayout layout = new RelativeLayout(this); layout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); AdRequest adRequest...

Writing to Google Play Leaderboard API callback returns successfully but no scores are recorded

android,unity3d,google-play-services

The leaderboard score needs to be greater than the last one or it will not be changed, its an incremental leaderboard and you cannot decrease its value. (For each user/player)

Android - “Connecting to Google Play” still gives Error Code 4?

android,google-api,google-play-services,google-play-games

Fixed. After getting countless SIGN_IN_REQUIRED I managed to allocate a lot of RESULT_APP_MISCONFIGURED. The solution? It's very important to add a ProGuard exception, as described here....

Adding google_play_services_lib to my android app makes it 5 Mega larger

android,eclipse,apk,google-play-services

So .. I found the solution in goonerdroid comment, I started using Proguard and compiling only relevant parts of google play services and the size of my APK decreased significantly. * the difference is shown only in exported APK but that's what really matters..

Download an APK from a website and prompt the installation to the user

android,download,google-play,apk,google-play-services

Unfortunately that functionality is handled by the user's browser, and none automatically install apks (and right so, as that would lead to many malware).

App occasionally crashes when accessing google play services

android,google-plus,google-play-services,google-plus-one

The answer to my question is built of 2 parts As noted by TomTsagk and shkschneider - there must have been an exception that was thrown, and there was! - the problem was that we used an experimental 3rd party sdk and it was swallowing our exceptions system wide The...

Does Google Play Services pre-release versions to developers?

android,google-play,google-play-services

does Google release Google Play Service beta versions for developers prior to releasing the full versions to the public? No. They do the opposite -- they do not release the updated Play Services SDK until a preponderance of devices have been updated to be able to support it. If...

Set the current place on google place api

java,android,google-maps,google-play-services,google-places-api

Well, you can always use Google Places API Web Service, which looks something like this: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&keyword=cruise&key=API_KEY where location — The latitude/longitude around which to retrieve place information. This must be specified as latitude,longitude. ...

End a multiplayer game on finishMatch

android,google-play,google-play-services,google-play-games

You should make the following call on each of the other players devices: Games.TurnBasedMultiplayer.finishMatch( mGoogleApiClient, mMatch.getMatchId()); This will cause the following status changes on each players device: Match status will change from MATCH_STATUS_ACTIVE to MATCH_STATUS_COMPLETE Match turn Status will change from MATCH_TURN_STATUS_MY_TURN to MATCH_TURN_STATUS_COMPLETE. The participant status of the player...

android studio cannot resilve symbol LocationClient

android,android-studio,google-play-services,location-client

There is no LocationClient in package android.location. This is why your import is resulting in an error. In fact, the LocationClient class is deprecated. From Google Play Services | Android Developers: Deprecated clients - The ActivityRecognitionClient, LocationClient, and PlusClient classes are deprecated. If you used those APIs in your app...

In CoCos2dx how to use admob and google play sevices together

admob,cocos2d-x,google-play-services

I was also facing the same problem..This is due to conflict between google-play-services and GoogleAdMobAdsSdk....Here is the solution I found atlast. Update your google-play-services library. Goto your project/cocos2d/plugin/plugins/admob/proj.android/src/org/cocos2dx/plugin/ Modify the file AdsAdmob.java to package org.cocos2dx.plugin; import java.util.HashSet; import java.util.Hashtable; import java.util.Iterator; import java.util.Set; //import com.google.ads.*; //import com.google.android.gms.ads.AdRequest.ErrorCode; import...

error: package com.google.android.gcm does not exist - After migrating to Gradle

android,android-studio,google-play-services,android-gradle,android-build

GCMRegistrar is not part of Google Play Services, but is part of the now entirely deprecated gcm.jar file. You'll need to add gcm.jar to your dependencies if you'd like to temporarily keep using it until you migrate to Google Play Services' GCM implementation: compile files('libs/gcm.jar') ...

Android studio can not resolve com.google.android.gms.location.places.AutocompleteFilter

android,android-studio,google-play-services,google-places-api

The Places API was only added in Google Play services 7.0: you'll need to update your dependency to be at least 7.0.0, although the latest as of this answer is 7.5.0. Note in almost every case, you should use selective APIs to only include the portions of Google Play services...

Cannot resolve symbol 'LocationClient' in Android Studio

android,android-studio,google-play-services,location-client,location-services

LocationClient was removed from the Play Services SDK a few months ago. You now use GoogleApiClient, LocationServices.API, and FusedLocationProviderApi to access the fused location provider in Play Services. This sample project demonstrates how to get a location fix from this new API, and its use is also covered in this...

Best approach for creating a reusable object to get users location?

android,android-fragments,location,google-play-services

I'd make a custom Application and call getLastLocation when requested by user - then store that location in a field and make a getter for that field.

Stop location updates by using the last google play services api location

android,geolocation,listener,google-play-services

Inside your onLocationChanged(), update the location and then unregister the listener, like so : LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this); ...

How can i ensure that my app support minimum Google Play Services 4.1 version?

android,google-play-services

This is what i found till now: No need to do any changes on manifest file. Version code for Google Play Services is 7 digits number and its complicated from same digits as version name. For example: version 4.1.00 has code 4100000 version 6.5.99 has code 6599000 So, when i...

getMapAsync() - call once and save the result, or call every time I need the map?

android,google-maps,google-play-services,android-maps-v2

Google's map-related examples, located in the directory <path-to-sdk>/extras/google/google_play_services/samples/maps keep a reference, so I believe this should be fine. The reason you have to use the async call is (I suppose), because the map probably does network requests while it's initializing (to download the tiles etc, see the docs for more...

Intellij idea. Can't publish apk to Google play

java,android,intellij-idea,google-play,google-play-services

Error is clear: you cannot use com.android as package name so you must change it. Since you're not using graddle, I think you're forced to do 2 things Rename your package as @Eduardo Dennis or applying any other strategy Rename your package attribute on manifest.xml to new package name Then...

Improper configured Google play game services in android game

android,google-play-services,google-oauth

Check that the package name and signing certificate match the client ID created in Developer Console Check Google Developer Console if the given permission is given correctly for your Package Name. ...

Are there any advantages of using FusedLocationProviderApi over LocationManager?

android,google-play-services,android-location,android-maps-utils

FusedLocationProvider uses a mix of hardware to determine location based on the context of the request, meaning it's optimized transparently to you. It will also cache captured locations between applications to avoid unnecessary work to determine location info. So if a user has a variety of location-aware apps, they potentially...

AndroidChromecastSDK (Xamarin Bindings) : Getting the RemoteMediaPlayer.MediaStatus always return null

c#,monodroid,google-play-services,chromecast

For anyone who might come across this problem, be wary that you need to use this line : CastClass.CastApi.SetMessageReceivedCallbacks(googleApiClient, mediaPlayer.Namespace, mediaPlayer); where mediaPlayer is a RemoteMediaPlayer. My problem was that I was using a custom implementation of the RemoteMediaPlayer and I overrided the Namespace get attribute to return a Namespace...

Google In-App Product Currency Change

in-app-purchase,google-play,google-play-services,in-app-billing,in-app

When an app is uploaded to Google Play, you will be asked to set a default price for the app in your home currency. This price will be used for all countries/regions which you do not manually override. Additionally, you can set a price for each app separately in individual...

Download Google Play Services

android,error-handling,google-play-services

You receive this error because you are running your code on an Android device that doesn't have the Google Play Store. You can check if your intent will succeed like this: if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); } else { //There isn't an app that handle your intent } ...

Google Play Services Version for Android Studio

android,android-studio,google-play-services

In Android Studio, you need to download the Google Repository from the SDK Manager to get the equivalent of Google Play Services in Eclipse. And check YOUR_ANDROID_SDK_PATH\extras\google\m2repository\com\google\android\gms\play-se‌​rvices and you will be able see which versions you can use.

Invalid file: google-play-services_lib/build.xml in android

android,xml,eclipse,ant,google-play-services

Here ant was failing to generate your build because Google no longer provides a build.xml for the Play library, we need to generate the build.xml in the Play library by running the below command android update lib-project --path <playlib_path> Now we need to clean both google_play_services_lib and your_project in eclipse...

Why are permissions being automatically added to my AndroidManifest when including Google Play Services library

android,admob,android-manifest,google-play-services,android-permissions

When you use compile 'com.google.android.gms:play-services:7.5.0' This implies you are using every feature of Google Play Services, including location services. If you only need a particular API, you should be using the selective APIs. In the case of ads, you can use solely: compile 'com.google.android.gms:play-services-ads:7.5.0' ...

How can I determine the version of Google Play services?

android,android-studio,gradle,google-play-services

You have the right idea by checking to make sure you do not have any updates. The easiest way to check is simply when you have the latest downloaded in the Android SDK(locally). I am using Mac OSX: ~/android-sdk/extras/google/m2repository/com/google/android/gms/play-services/ If you look where you have YOUR-ANDROID-SDK/extras/google/m2repository/com/google/android/gms/play-services/, you will see all...

GC overhead limit exceeded with google play services

android,google-play-services

I would suggest using android studio instead of eclipse https://developer.android.com/sdk/index.html. But also, you could try launching eclipse with more memory: How can I give eclipse more memory than 512M?...

Application Upgrade to newer version and remove old version support

android,google-play-services

this Will the app be invisible for old version mobile Android 2.x users can use old application, but they can't upgrade it. You can try create multiple apk to old and new androids However, I recommend completely abandon support for older versions. Support takes a lot of effort, and users...

Attempt to invoke virtual method when getting current location

java,android,geolocation,google-play,google-play-services

Remove the constructor of MainActivity and call buildGoogleApiClient() in onCreate @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ButterKnife.inject(this); buildGoogleApiClient(); } ...

Error in Google Play Services: read failed: EPERM (Operation not permitted)

java,android,google-play-services,ioexception,google-cloud-messaging

If you actually read the logs it is pretty clear what's the problem. You are missing a required permission needed to use GCM. Caused by: java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE Inside AndroidManifest.xml add: <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> And make sure...

Google maps api asking for permissions even though I already specified them

android,google-maps,google-play-services

Move the <uses-permission>, <uses-feature>, and <permission> elements out of <application>. They need to be immediate children of <manifest> and peers of <application>.

Android Activity Recognition updates are not regular

android,google-play-services,activity-recognition

This may come a little late. However yes this is normal. I have noticed that there is a delay during a transition from activity A to activity B (e.g. from still to walking) while there is generally no delay when the activity is constant. I guess this is because the...

Google play service make app crash

android,google-play-services

your Android Support Library and Android Support Repository. Just install using the SDK manager. They are not synced with each other. Make sure you have them according to your SDK. Via the SDK Manager, you need to make sure you have Android Support Repository up to date ...

Unable to setup Google Play Services

android,eclipse,google-play-services,android-mapview,android-maps-v2

Thank God. Finally it's done. Many websites said that, after doing all the stuff describing at the official tutorial site you need to do some extra things. Some of them are really helpful and some are not. Before you waste your complete day like me, remember the below things- "you...

not able to get advertising id in android

android,google-play,google-play-services,genymotion

You receive this exception because the Google Play Services are not installed on the device (or emulator). As you can read in the Google Play Services documentation: Note: Because it is hard to anticipate the state of each device, you must always check for a compatible Google Play services APK...

Update to already published game on Google Play giving error with SHA1 key

android,eclipse,google-play-services,sha1,google-play-games

When you upload an apk to play store then for any api that require SHA1 must use SHA1 that was generated during signing process. Not the SHA1 that eclipse provide. Try it....