Download

Android package empty app_id

I’m trying to use Google Play services in my game. Following this instruction, i’ve created app in google console. Here are my settings for UE project:
c00f917fbea5df39a15bd8888ef5e0dfda7f07fa.png

Without first check box i receive nothing. But with in app crashes on launch on android device. Following can be found in Logcat:
c435b257150d7cc96efeb241718e8a5558094210.png

hope i’ts not because of XPosed framework). I’ve unpacked .apk with apktool. Here is /res/values/strings.xml content:
4f8816b55d32bd12ffd9ea89133b244be71f6192.png

@string/app_id referenced by AndroidManifest.xml is empty!
What am i doing wrong ?

Hi styanton,

Check your project’s Build/Android/res/values/GooglePlayAppID.xml; this is where the value is stored. When you click to configure Google Play Services the first time this file is created. Changing the Games App ID setting should update it. You should see it say:


<?xml version="1.0" encoding="utf-8"?>
<resources>
	<string name="app_id">99143124*[blanked out numbers]*</string>
</resources>

I just tested it and it updates the file for me properly; maybe your file was read-only (from using source control) and didn’t get updated? This file gets copied to Intermediate/Android/APK/res/values for packaging or launch to process during generation of the APK.

GooglePlayAppID.xml is empty even after reconfiguring for Android and Google Play (delete all in /build dir, then press “configure” buttons in project settings). Manual ID insert and build solves problem.
ef4900338bc89ed2d4965130e127e58c02723d90.png

Thanks for this, it fixed my app not launching on device