3

While working beautifully previously, my app-invites randomly started failing. I don't believe my code was modified at all. No idea what this error code means, either.

08-04 20:00:36.387   31451-2716/? E/AppInviteAgent﹕ Get suggested invitees failed due to error code: 13
08-04 20:00:54.636   31451-3312/? E/AppInviteAgent﹕ Create invitations failed due to error code: 13
ZakTaccardi
  • 12,212
  • 15
  • 59
  • 107
  • Maybe this happens because you used the `SHA1 fingerprint` from your release key. But the build you test is signed with the android debug key. So you can try to use `keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -list -v` to get the `debug key` and the password for default password is `android` – bjiang Aug 05 '15 at 18:30
  • Why would it previously work well, then stop working? – ZakTaccardi Aug 05 '15 at 18:38
  • You didn't change anything at all? – bjiang Aug 05 '15 at 18:40
  • Nope. I rolled back to my previous code when I was 100% sure it was working, and it still failed with the same error code. – ZakTaccardi Aug 05 '15 at 18:42
  • Maybe you need to update some library or dependence in your project – bjiang Aug 05 '15 at 19:26
  • Check out the app invites code [here](https://github.com/googlesamples/google-services/tree/master/android/appinvites), maybe they change something to new – bjiang Aug 05 '15 at 21:24
  • Have you published your app and then doing testing? It might be because your app is not published on Google play: http://stackoverflow.com/questions/30881257/can-app-google-app-invites-be-used-with-beta-apps-not-on-the-app-store – Ankur Aug 11 '15 at 10:37
  • For lost programmers, my issue was no having `com.google.android.gms.games.APP_ID` set in `AndroidManifest.xml`. https://developers.google.com/games/services/android/troubleshooting – Keenan Thompson Aug 05 '18 at 02:38

0 Answers0