Error build apk

Hello!

Updated version of the Corona SDK 2019.35.04.

Now at build I receive an error.

Log with Corona Simulator.

00:00:38.908  Using custom Build Id 00000

00:00:39.428  Excluding specified files from build: 

00:00:39.428     excluding: Icon.png

00:00:39.428     excluding: *@2x.png

00:04:49.600  Exception in thread “DisconnectableInputStream source reader” org.gradle.api.UncheckedIOException: java.io.IOException:                    

00:04:49.600  at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)

00:04:49.600  at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)

00:04:49.600  at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)

00:04:49.600  at java.lang.Thread.run(Thread.java:748)

00:04:49.600  Caused by: java.io.IOException:                    

00:04:49.600  at java.io.FileInputStream.readBytes(Native Method)

00:04:49.600  at java.io.FileInputStream.read(FileInputStream.java:255)

00:04:49.600  at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

00:04:49.600  at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

00:04:49.600  at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

00:04:49.600  at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96)

00:04:49.600  … 1 more

00:04:49.600  

00:04:49.600  FAILURE: Build failed with an exception.

00:04:49.600  

00:04:49.600  * What went wrong:

00:04:49.600  Execution failed for task ‘:App:mergeDexRelease’.

00:04:49.600  > java.lang.OutOfMemoryError (no error message)

00:04:49.600  

00:04:49.600  * Try:

00:04:49.600  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

00:04:49.600  

00:04:49.600  * Get more help at https://help.gradle.org

00:04:49.600  

00:04:49.600  BUILD FAILED in 4m 7s

00:04:49.600  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en

00:04:57.660  Android build failed (1) after 259 seconds

My build.settings:

Plugins:

[“plugin.google.iap.v3”] = { publisherId = “com.coronalabs”, supportedPlatforms = { android = true }},

–[“plugin.google.play.services”] = { publisherId = “com.coronalabs”, supportedPlatforms = { android=true } },

[“CoronaProvider.ads.vungle”] = { publisherId = “com.vungle”, },

[“plugin.facebook.v4”] = { publisherId = “com.coronalabs” },

[“plugin.zip”] = { publisherId = “com.coronalabs”},

[“plugin.pasteboard”] = { publisherId = “com.coronalabs”, },

[“plugin.notifications.v2”] = { publisherId = “com.coronalabs”, },

[“plugin.gpgs”] = { publisherId = “com.coronalabs”, supportedPlatforms = { android=true } },

–[‘plugin.vk’] = { publisherId = ‘com.spiralcodestudio’ },

[“plugin.utf8”] = { publisherId = “com.coronalabs” },

Android Settings:

android =

{

applicationChildElements =

{

[[

<meta-data android:name=“com.google.android.gms.ads.APPLICATION_ID”

android:value=“42dba11328cf4aac1e20ed8524998bedc1c2a2ca4524eb6f”/>

]],

},

},

Help solve the problem. Thank advance!

Can you confirm the version number of Corona you are using? The version numbers are in the format 2019.3490 or such.

@Rob

Bus did mentioned the version “Corona SDK 2019.35.04”

2019.3504 - version

okay I’m going to move this to the Android 64-bit beta channel where the engineers are watching.

I’m going to take a guess that the problem lines in the GPGS plugin. We’ve moved on past that to the GPGS v2 plugin (which is a Google requirement since they’ve gotten rid of Google+ and the old GPGS plugin has Google+ code in it.

I would recommend trying to comment out the GPGS plugin to see if it builds and that will help us narrow down the cause. I’m pretty sure, we may not have updated that plugin since everyone should have migrated to v2 by now.

Rob

Thanks, I deleted the GPGS plugin. Application was built.

working great,appreciated.