Corrupted googlePlayGamesAppId in AndroidManifest.xml

I began having an issue with my android builds recently, one that I ignored initially since the solution was to rebuild until the problem went away. However, I have grown tired of this non-solution so I am looking for some help.

Almost every other build would fail when run on device, it would crash upon startup when trying to initialize google’s game services. The following log is the relevant error.

log_info.png

This is strange since the the number that is logged as the app ID is missing the digit that should be at the 1s place, an 8.

The value in build.settings is correct.

When I decompiled the APK to verify the ID in the manifest I found the following:

The corrupted app id had replaced the 8 with “\u0011”

app_id_corrupt.png

Now when I rebuild the app sometimes it is correct, and other times it is incorrect.

The correct app id is as follows, with a "\ " at the front and the 8 correctly in the 1s place.

app_id_correct.png

APKs with this value work perfectly.

I am using the plugin.gpgs.

Any idea what is going on here?

Thanks for the help,

Ian

Thanks for this report. We are looking into this issue for another user. Is your ID 12 characters long or 13?

This may be useful.

Rob

Can you zip up your build.settings and share it with us? (Dropbox link, etc?)

Thanks

Rob

Our app ID is 13 characters long.

I’ll share the dropbox link with you shortly.

Thanks,

Ian

We think we have this fixed. Please try and let me know. Its a change with the Android SDK on the build servers so you should be able to build and test.

Rob

I’ve built our project several times in a row now and have not encountered the issue, so it seems to be working for me!

Thanks!

Thanks for this report. We are looking into this issue for another user. Is your ID 12 characters long or 13?

This may be useful.

Rob

Can you zip up your build.settings and share it with us? (Dropbox link, etc?)

Thanks

Rob

Our app ID is 13 characters long.

I’ll share the dropbox link with you shortly.

Thanks,

Ian

We think we have this fixed. Please try and let me know. Its a change with the Android SDK on the build servers so you should be able to build and test.

Rob

I’ve built our project several times in a row now and have not encountered the issue, so it seems to be working for me!

Thanks!