Download

Android Packaging Failed with OnlineSubsystemGoogle

PackagingResults: Error: Missing precompiled manifest for ‘OnlineSubsystemGoogle’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in OnlineSubsystemGoogle.build.cs to override.
PackagingResults: Error: Unknown Error

I am having the above problem when packaging with Android.

I set the AndroidEngine.ini file of the project as follows,

[OnlineSubsystemGoogle]
bEnabled=true
ClientId=“CONSOLE_CLIENT_ID”
ClientSecret=“CONSOLE_CLIENT_SECRET”

[OnlineSubsystemGoogle.OnlineIdentityGoogle]
+ScopeFields=“https://www.googleapis.com/auth/userinfo.email
+ScopeFields=“https://www.googleapis.com/auth/userinfo.profile

And I set the project’s DefaultEngine.ini file as follows

[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
PackageName=com.name.game
GamesAppID=APP_ID
GooglePlayLicenseKey=“LICENSE_KEY”

I am using Android studio version 3.5.3 and NDK version r21b. What could have gone wrong?