Instant app crash when Google Play Support is enabled

Hi,
i had the problem that my app instantly crashes on startup on my device (HTC One). I had no errors or warnings in the editor or any problems in the mobile preview. After days of searching why the app crashes instantly on my device, i figured out that the checked “Enable Google Play Support” in the project → platforms settings is definitely responsible for the crashes. I have no Google Play functions implemented yet, but i want to do it later.

So my question is: Why does the app crashes when Google Play Support is enabled? (Do i need a Games App ID or other “preparations” before enableing it? Or is that just a bug?)

Version: 4.6.1

31019-googleplaysupport.jpg

You need to setup Game Services and link your app, all through the Google Play Developer Console. Once your services are setup for your app, copy+paste the number that is by your app’s name in the Game Services section into the Games App ID box in the UE4 Project Settings like you have in that picture.

Here info how to set it up

If you want to know why something crashes, you need to run “logcat” when you start the game. In a command line, start “adb -logcat” and let it catch up to “now” (it will print a lot of old logs first.) Then start the app, and look in the log window for the exception that crashes it.

Excellent reference