Build error 1 using corona 2019.3504

I have tried building with 2019.3519 and here is the build error I get now https://pastebin.com/CqwEV9MA.

I have installed Android studio 3.5, JDK is 12.0.2. I have tried building a sample project called frame animation but it failed. I have also tried with vpn to check for network issue but still the error is the same. 

Please any help about this would be a great help to me. Currently I can’t build any app to publish since one of my app has been flagged and needs to be re uploaded with updated appodeal.

Can you output/save your build to your C drive instead of your D drive?

@Rob

Thank you very much. It works now when I chose to save in C drive. 

I’m going to move this to the Android 64-bit testing forum. Also please for long logs use pastebin.com or similar.

Rob

Update:
 

I am getting successful build when using corona sample projects, but build fails for my game. Here is a link to the https://pastebin.com/xpiqsX6W of the console output. Build error is 1. 

And here is my build settings https://pastebin.com/SV9hA3if. I have tried commenting out all the plugins but still I am getting the build error. 

Another question do we need to have Launchscreen.storyboardc folder? Though copying it doesn’t make any difference. 

LaunchScreen.storyboardc is for iOS deployment. It’s the Apple UILaunchImage setup and is unnecessary files for Android builds. Many developers use the excludeFiles section of build.settings to exclude them from Android builds. 

Rob

@Rob thank you for the information about launchscreen folder. 

For the build error, any idea what might be causing the build error? I am not understanding the error message that the path is not found at the end of the console log

Let me see what Engineering has to say.

Rob

Hello. Please, try building some sample app. You can open sample app with button on Welcome window.

@vlads

Samples are building fine. I tried two of them and both build were successful. I am currently using 2019.3508. But my games are not building at all. I am getting the error message posted before. I have built apps using 2019.3490 without any problems. I am getting the error only from 2019.3504. I have tried commenting out the plugins except gpgs but still getting the build error 1. I didn’t remove gpgs as it was showing an error stating that gpgs is needed as I was using in main.lua.

GPGS v1 may be the problem. I had another user running into build issues and removing the old GPGS plugin solved it. If you need GPGS, try updating to the GPGS v2 plugin.

I’m surprised that Google will even accept the old GPGS v1 plugin because it has dependencies on Google+ which Google has removed several months ago.

Rob

@Rob

Sorry for the misunderstanding. I am using GPGS V2. 

Temporary fix:

After some trial and error I noticed that if the project is in the C: drive where I keep installed software only, then I get .aab and .apk files of the project. Only when the project is in another drive in my case D: drive ( I only have C and D drives), the build fails. 

Is there anything I can do so that I can build files from D drive? I have also noticed some error message in the console even when the build is successful. 

Full console log for successful build: https://pastebin.com/Ap4KZCvd

Here is the snippet of the error message:
 

Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.1.1/userguide/gradle\_daemon.html. Daemon will be stopped at the end of the build stopping after processing Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: The handle is invalid at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61) at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41) at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125) at java.base/java.lang.Thread.run(Thread.java:835) Caused by: java.io.IOException: The handle is invalid at java.base/java.io.FileInputStream.readBytes(Native Method) at java.base/java.io.FileInputStream.read(FileInputStream.java:273) at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252) at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:292) at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:351) at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96) ... 1 more

Btw, original issue should be fixed in 3512. This exception can be safely ignored, it doesn’t influence the build.

@vlads

I am using 2019.3512, but unfortunately I am still getting the same error ie. build error 1.

Please, provide full build log, preferably of sample app. Last thing you posted was no the build error, just output error. Thanks.

Here is the console output, https://pastebin.com/GzrnNEQX. Is this the one you are looking for? I have used Corona 2019.3512 and Frame Animation sample project. I copied the sample project in D drive. In my pc Corona is installed in C drive. The build fails only when the project is in D drive, if the project is in C drive the build is successful. 

@vlads

I just checked with corona 2019.3514 and getting a build error 1 with a different output log. Here is the full log https://pastebin.com/k7EuZeMC

This is very weird error. I’m looking into it. What OS version are you building on?

I am using Window 10 Version 1903, OS build 18362.267