Simulator/Win10 Build Android with Build Error #1

Hello all,
 
I was trying to build using Simulator on Windows10 (Java JRE-10 and JDK-10 64-bit). But repeatedly, it gives, on the Simulator Console, Build Error #1.
 
Even if I tried a simple “hello” app, with skeleton build.settings, config.lua, give the same “Build Error #1”. Please help to advise.
 
Thank you.
Luan
 

PS> Enclosed below is Simulator Console Output, main.lua, config.lua, build.settings.

-------------------------------- SIMULATOR CONSOLE OUTPUT -----------------------------------------------------------
15:39:19.233  
15:39:19.233  Corona Simulator 2018.3258 (Apr  4 2018 02:56:19)
15:39:19.233  
15:39:24.032  
15:39:24.032  Copyright © 2009-2018  C o r o n a   L a b s   I n c .
15:39:24.032      Version: 3.0.0
15:39:24.032      Build: 2018.3258
15:39:24.032  Platform: GT-I9300 / x64 / 10.0 / Intel® HD Graphics 630 / 4.5.0 - Build 22.20.16.4749 / 2018.3258 / en_SG | SG | en_SG | en
15:39:24.032  Loading project from:   D:\Corona LUA\My Codes\hello v01
15:39:24.032  Project sandbox folder: C:\Users\pekkle\AppData\Local\Corona Labs\Corona Simulator\Sandbox\hello v01-3E35042ED58836493F33E3F4DBF08BF1\Documents
15:39:45.188  Testing credentials for ‘C:\Program Files (x86)\Corona Labs\Corona2018\Resources\debug.keystore’:
15:39:46.110  jar signed.
15:39:46.110  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
15:39:49.798  Using custom build id from app bundle: 00000 (AppSettings.lua)
15:39:49.798  
15:39:49.798  Using custom Build Id 00000
15:40:32.559  BuildID: 5ae2d3c48a939
15:40:33.700  WebServices: downloading build
15:40:40.380  Android build failed (1) after 51 seconds
 

-- main.lua local x = display.actualContentWidth \* 0.5 local y = display.actualContentHeight \* 0.5 local helloText = display.newText( "Hello World", x, y ) helloText.size = 28

-- config.lua application = { content = { width = 320, height = 480, -- scale = "zoomStretch", scale = "letterBox", -- scale = "adaptive", fps = 30, imageSuffix = { ["@2x"] = 2, } } }

-- build.settings settings = { orientation = { default = "portrait", supported = { "portrait" } }, android = { versionCode = "11", usesPermissions = { "android.permission.INTERNET", }, }, }

Where are you outputting the build to?  Perhaps a screenshot of the build screen just before you click on the build button?

Rob

Hello all,

By the way, I forgot to mention that the (a) Windows build, and (b) HTML5 beta build, is running Okay …

using the above simple “hello”, config.lua, build.settings with the same Simulator 2018-3258 / Windows10.

It is only the Android build, repeatedly and consistently, failed with “Build Error #1”.

Please help to advise. Thank you.

Luan

It is at “D:\Corona LUA\My Codes”, the parent folder of the “hello” app (app is located at “D:\Corona LUA\My Codes\hello v01”).

Can you try outputting to a different folder?

Have you ever successfully built an Android app?

Rob

Also, I checked the anti-virus history, there is no record of any “cleansing” action.

Zero success at Android build, since I upgraded to 2018-3258.

The output folder "“D:\Corona LUA\My Codes” is the same as before the upgrade of Simulator. Windows build and HTML5 beta build on the 2018-3258 Simulator also output to the same above output folder, without any error.

For Android, Is there any change that it require a specific output folder? or are there more additional checks?

I have tried various combination of output folder, here is a summary, for an app residing in “D:\Corona LUA\My Codes\hello v01”. This is the context of using the Simulator version, Windows 10 and Java JDK and JRE as above.

For Windows build and HTML beta build,

  • Output folder, “D:\Corona LUA\My Codes” okay.

For Android build,

  • Output folder, “D:\Corona LUA\My Codes\hello v01” failed with immediate on-screen error, “You must provide a destination path different from project path”
  • Output folder, “D:\Corona LUA\My Codes” failed with “Build Error #1
  • Output folder, “D:\Corona LUA” failed with “Build Error #1
  • Output folder, “D:” failed with “Build Error #1
  • Output folder, “D:\Corona LUA\My Codes\output” okay.
  • Output folder, “C:” failed with "Build Error #1
  • Output folder, "C:\output\ okay.

This is different from previous Simulator, where I have been, without problem, using output folder, “D:\Corona LUA\My Codes” for Android or Windows build.

With this, this thread is closed. I hope someone put this into the documentation somewhere.

Rob, many thanks for your lead on the output folder.

Regards, Luan

Where are you outputting the build to?  Perhaps a screenshot of the build screen just before you click on the build button?

Rob

Hello all,

By the way, I forgot to mention that the (a) Windows build, and (b) HTML5 beta build, is running Okay …

using the above simple “hello”, config.lua, build.settings with the same Simulator 2018-3258 / Windows10.

It is only the Android build, repeatedly and consistently, failed with “Build Error #1”.

Please help to advise. Thank you.

Luan

It is at “D:\Corona LUA\My Codes”, the parent folder of the “hello” app (app is located at “D:\Corona LUA\My Codes\hello v01”).

Can you try outputting to a different folder?

Have you ever successfully built an Android app?

Rob

Also, I checked the anti-virus history, there is no record of any “cleansing” action.

Zero success at Android build, since I upgraded to 2018-3258.

The output folder "“D:\Corona LUA\My Codes” is the same as before the upgrade of Simulator. Windows build and HTML5 beta build on the 2018-3258 Simulator also output to the same above output folder, without any error.

For Android, Is there any change that it require a specific output folder? or are there more additional checks?

I have tried various combination of output folder, here is a summary, for an app residing in “D:\Corona LUA\My Codes\hello v01”. This is the context of using the Simulator version, Windows 10 and Java JDK and JRE as above.

For Windows build and HTML beta build,

  • Output folder, “D:\Corona LUA\My Codes” okay.

For Android build,

  • Output folder, “D:\Corona LUA\My Codes\hello v01” failed with immediate on-screen error, “You must provide a destination path different from project path”
  • Output folder, “D:\Corona LUA\My Codes” failed with “Build Error #1
  • Output folder, “D:\Corona LUA” failed with “Build Error #1
  • Output folder, “D:” failed with “Build Error #1
  • Output folder, “D:\Corona LUA\My Codes\output” okay.
  • Output folder, “C:” failed with "Build Error #1
  • Output folder, "C:\output\ okay.

This is different from previous Simulator, where I have been, without problem, using output folder, “D:\Corona LUA\My Codes” for Android or Windows build.

With this, this thread is closed. I hope someone put this into the documentation somewhere.

Rob, many thanks for your lead on the output folder.

Regards, Luan