Distribution build fails w. GameAnalytics plugin enabled

Hi!
I have a project setup with unreal 4.13.1 and the GameAnalytics plugin. My target is android and the game builds for development, shipping but not distribution. It does build for distribution if I disable the plugin, and all the signing settings for android are setup.
The process fails at the the very final stage, so there does not seem to be any issues with compilation. I am suspecting some kind of config issue, possibly related to proguard, but I can’t quite figure it out. I am now running on a newly generated project, which as mentioned builds fine without the plugin.
Things I have tried:

  • Binary engine + plugin (4.13.1 + GameAnalytics 2.2.5)
  • Code project, with plugin built from source(I have tried versions 2.2.5, 2.2.6,2.2.7,2.2.8)
  • Verified all settings

I only have warnings and no errors when building. What I did notice though was the line
“UATHelper: Packaging (Android (ATC)): [proguard] Warning: com.gameanalytics.sdk.GAPlatform: can’t find referenced class android.net.Network” , which is why I am suspecting something might be up with proguard.

Does anyone have any ideas or suggestions on how to solve this?

Hello PwnPwn,

From looking at GameAnalytics’ page on our Marketplace, they have a ticket system set up for support for problems relating to their plugin. If the error is only happening when their plugin is enabled, it would be best to contact them as they may be privy to particular issues related to their plugin and would likely prefer to be notified of new ones.

You can find the form here: Get in Touch | GameAnalytics

Hi!
Thx for the quick reply. I did send them a ticket before I posted here, but since the issue is a bit pressing I decided to give this a shot as well. I can find similar issues related to the “final pack operation” so I thought maybe someone here had experienced this before with plugins.

So I disabled proguard all together and now the project builds for distribution. It’s a workaround and if anyone can share some knowledge on how to address the “can’t find referenced class android.net.Network” it would be very helpful. I have not gotten any information on how to fix it from my tickets with GameAnalytics.

Hi! How did you disable proguard? I am having the exact same issue.