I developed and published an App to Google Play and it was working fine until yesterday. App works as it should but when the users want to open the Achievements and Leaderboard in Google Play they get an error: "Unfortunately, Google Play services has stopped"
I know that the App is able to login into GP because I created some messages that update after login
public void onSignInSucceeded()
{
if(getApiClient().isConnected())
{
loading.setText("Please wait while we load\n the Achievements panel, thank you...");
...
}
....
}
but the App cannot display the Achievements/Leaderboard anymore as it ones did.
I am not sure if anything changed with Google Play or Play Games but it just stopped working. Did't make any changes in the code nor uploaded a new package to Google Dashboard. It just simply stopped working... any thoughts?
thank you,
Dan
Update: the Stack trace error message is:
java.lang.NumberFormatException: Invalid long: "" at java.lang.long.invalidLong(Long.java:124) at java.lang.Long.parseLong(Long.java:345) at com.google.android.gms.games.ui.client.a.a(SourceFile:498) at com.google.android.gms.games.ui.client.a.b(SourceFile:344) at com.google.android.gms.commom.internal.z.a(SourceFile:188)
Google Play Services has just been updated! This fixed the error for us. So hopefully this will work for everyone else :)
Just download the latest version and it should work.
Sorry for creating this as an answer, but apparently I can't comment as a new user. And we have no clue how to solve this error.
We have had the same error since yesterday. Everything worked perfectly before that, and players can still acquire achievements, but showing the Achievements UI crashes the game with a message: Google Play-services has crashed.
We tried downloading our 1.0 version from Play Store, and the same thing happened in that version. In other words: This can't be something we changed in our code. We have tried practically everything we can think of.
the API call that seems to trigger this is:
AndroidNativeBridge.GetInstance().startActivityForResult(
Games.Achievements.getAchievementsIntent(mHelper
.getGoogleApiClient()), ACHIEVEMENTS_REQUEST);
Sorry again for posting as an answer, but this is the first related error we have found online.
Related
Did anyone got this error?
It seems, clicking any button in my android application and at the same time Google related error message is occurred.
Google related error messages like,
“The process com.google.process.apps has stopped”
Or
“Google Play Services has stopped”.
I tried in emulator and my mobile, even tried deleting it and adding a new one, still i got the same message.
Please Advice...
This error usually comes up when you are making some changes to the settings of the Android Operating System. You may refer with this article on How To Fix ‘Google Play Services Has Stopped’ Error On Android.
emptying the cache of the system app Google Play Services.
reset the app preferences
add your Google Account Once Again
reinstall Google Play Services
clear the Google Service Framework cache
However, if none of this works, you may want to consider checking this another blog.
Today I added my first application to play google stores. Send your application went smoothly. The application was in store. But as I want to download this application pops up an alert: Authentication is required. Sign in with your Google Account. I might also add that I am logged into your Google account, and checking whether the application runs on several other phones. But unfortunately, the situation repeated itself. Very Please help.
I had the same problem and how to fix it is very simple just go to your apps description and update it with anything I just added one word clicked update and an hour later worked perfectly
I cant comment as I am a new user.
But it seems its an issue with the Google Play, as every one is facing the same issue.
I got 7 apps uploaded yesterday and none of them are working. I have retried to upload again today, and waiting to see the outcome.
Let me know if your apps are working fine now or if any updates on this.
We made a purchase - a real product using a test account, we did not use one of the android test ids. The Google Popup box appeared as normal, we entered our password as normal, and got the "this is a test purchase you will not be charged etc" message. When we pressed ok, the application crashed and stopped responding with this error dialog:
"Sorry. The application Game-Name(process com.HappyBuddhaGamesCWW.PKG3) has stopped unexpectedly. Try again."
So the next time I run the same app, it crashes with the same error almost immediately upon starting the app. If I CHANGE the package name and resubmit to a new APK slot on Google Play Developer, then the app runs just fine as long as I don't press the IAP button to purchase again.
Another answered question suggested this was a licensing issue, but I do not use Eclipse, I use Game Maker Studio. I too suspect this is some kind of licensing thing, but I don't know exactly where to look.
Any help, pointers or suggestions would be GREATLY appreciated.
The problem was my Google Play License. It were munged in my GameMaker Global Game Settings/In App Purchases/Google Play Public Key window. When I replaced it properly, with no spaces, all was well.
What does the "An unexpected error occurred. Please try again later. (-32600)" mean? Today I tried to upload a new version/APK and I received this error. It offered me to save it as a draft. Now I can't Unpublish it, Delete version, Deactive version or anything else. I'm stuck with this error. I tried to Deactivate last published version. to Unpublish the whole application, to delete "Draft in Beta" versions. But whatever I do I get that error. I even tried to logout and login again. And tried different browser. Nothing helps. Anybody got an idea what could be wrong and how to solve this?
Same error here.
I contacted Google Support:
"We had an issue with our most recent update for the Developer Console and have rolled back the changes. You should be able to manage APKs and publish your app normally in the next few hours. If you still receive an error message by the end of today, please let me know and I'll be happy to investigate further."
I found a work around. Go to the APK section in your dashboard and click unpublish from there in the top menu. It gives an alert that it may take a few hours to be removed from the play store. Worked for me :)
Using com.android.vending.licensing you can check if your app is licensed or not. There is a callback, applicationError() that tells you if anything went wrong. Today I encountered error ERROR_NOT_MARKET_MANAGED and I can't figure out how I should deal with it!
Here's what I did:
On Google Play, I added my e-mail address as a test account.
On Google Play, I saved my app (unpublished) with versionCode="10".
On my machine, I changed to versionCode="11".
License check now fails with error code ERROR_NOT_MARKET_MANAGED.
The question is; should I handle this error or is this an unrealistic scenario?
ERROR_NOT_MARKET_MANAGED: the name really tells all about itself, application is not managed by Android Market (now called Google Play). More specifically, the version 11 of your application is not uploaded or published in Google Play.
should I handle this error or is this an unrealistic scenario?
I would consider this as an unrealistic scenario. You don't need to do anything special in code as long as you upload the new app version in Google Play. ERROR_NOT_MARKET_MANAGED is more like a LVL development warning which help developer properly implement license checking code and follow the correct procedure for testing license checking at project build time. check out the comments in LVL sample code:
private class MyLicenseCheckerCallback implements LicenseCheckerCallback {
... ...
public void applicationError(ApplicationErrorCode errorCode) {
if (isFinishing()) {
// Don't update UI if Activity is finishing.
return;
}
// This is a polite way of saying the developer made a mistake
// while setting up or calling the license checker library.
// Please examine the error code and fix the error.
//String result = String.format(getString(R.string.application_error), errorCode);
//String result = "Error";
//handleLicensingResult(result);
}
}
The whole point of integrating LVL into your application is to use Google Play publish your application, and use Google Play client application download and install your application (see Requirements and Limitations section in dev guide). I can't see any point that can cause this applicationError at runtime on end user's device if:
Developer follow the correct procedure to upload (for testing LVL) or publish (for real release) in Google Play.
End user use Google Play client application purchase, download and install the application.
If a end user somehow get a copy of your application (with LVL integrated and uploaded/published in Google Play) from other channel (not purchase via Google Play) and trying to install it on his device (with Google Play client application installed on that device), in this case, LicenseCheckerCallback will go to dontAllow() rather than applicationError(ApplicationErrorCode errorCode).
Dont test your application immediately after you upload it to Google Play.
Wait for some time (15-20 mins or probably longer) before you start testing. Google play takes some time to recognize your app.
29 Jul, I have found that while my app is in Alpha or Beta testing all I ever get is Error 3 or Error_Not_Market_Managed. This is actually a reply from the server. SO that means that I am touching the server and the code is good. Regardless of what is set in the Developer Console as a reply, this is the only reply that I get.
I have actually waited 3 days and there is no change. SO there is no wait time which is acceptable. I even cleared and reset my entire phone. I cleared Google Play cache and all of the other magic tricks. None of them were the reason.
I updated one of my already published apps with my new Google License code and got the exact same response. After I changed the version code and then uploaded it to be published, about 4 hours later, that app functioned normally and the Google license check responded with a good valid code. Now as long as it is fully published, it responds with what ever code I tell it to.
SO the answer is, Google License will not function properly until fully published. If your app is in Alpha or Beta and you are getting Error 3 then you are likely good. Just comment out the License Check method until you are ready to publish.
As for now, 2014 May, I have to publish the testing app (no production APK uploaded) in order to test the uploaded APK and expansion OBB in beta. Otherwise, I always got ERROR_NOT_MARKET_MANAGED when testing APKExpansionPolicy. And 2 hours after publish (the notice on webpage said "up to 24 hours"), I can get expansion file information.
No one except testers can see the published app AFAIK.
It also can happen in older devices. I'm testing my app without the actual version being published and it works fine on my Galaxy S8, but I get this message on my Galaxy S4.
Which means it's also a polite way to say that this can also be a mistake from Google.