Can not build with 256 error [2019.3530]

I have change jdk to 1.8.0_202 still Error 256

Nov 10 09:43:57.622 Using java version “1.8.0_202”

                    Java™ SE Runtime Environment (build 1.8.0_202-b08)

                    Java HotSpot™ 64-Bit Server VM (build 25.202-b08, mixed mode)

Nov 10 09:43:58.324 Building Android app for mongkon@adinovel.com with 2019.3549

Nov 10 09:44:00.502 Using custom build id from app bundle: 00000 (AppSettings.lua)

Nov 10 09:44:02.920 BUILD SUCCESSFUL

                    Total time: 1 second

Nov 10 09:47:06.589 

Nov 10 09:47:06.589 FAILURE: Build failed with an exception.

                    

                    * What went wrong:

                    Could not determine the dependencies of task ‘:App:bundleReleaseResources’.

Nov 10 09:47:06.590 > Failed to find Build Tools revision 28.0.3

                    

                    * Try:

                    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.

                    

                    * Get more help at 

Nov 10 09:47:06.590 https://help.gradle.org

                    

                    BUILD FAILED in 3m 2s

Nov 10 09:47:07.175 Excluding specified files from build: 

                       excluding: LaunchScreen.storyboardc

                       excluding: Icon.png

                       excluding: Icon-*dpi.png

                       excluding: Images.xcassets

                    Android build failed (256) after 187 seconds

Nov 10 09:47:07.294 ERROR: Build Failed: Failed to Build

                    

                    Error code: 256

Nov 10 09:47:07.294 

I have test by run Corona Simulator as root by
sudo /Applications/Corona/Corona\ Simulator.app/Contents/MacOS/Corona\ Simulator 

That work and can compile Android because some file is loaded.

Downloading https://services.gradle.org/distributions/gradle-5.4.1-all.zip

Unzipping /var/root/.gradle/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx/gradle-5.4.1-all.zip to /var/root/.gradle/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx

Nov 10 10:10:29.998 Set executable permissions for: /var/root/.gradle/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx/gradle-5.4.1/bin/gradle

Nov 10 10:11:39.911 Authorization check succeeded.

I think the Corona Simulator on macos Catalina is can not load gradle-5.4.1-all.zip from internet since permission problem.

Latest couple builds are properly notarized so this shouldn’t be a problem. Please try latest daily build please

I have run as normal user and some time build work some time not work.

I get error code 256 with version 2020.3569 although everything works just fine with 2020.3567.

What happened again?

Any time to fix that soon?

I need it for the new appodeal beta version.

Recently I spend time more time dealing with problems than coding.

sh: line 0: cd: template: No such file or directory Feb 05 09:11:11.569 Android build failed (256) after 7 seconds Feb 05 09:11:11.808 ERROR: Build Failed: Failed to Build Error code: 256

I just downloaded version 220.3570 and I get this.

If I deauthorize I can’t login again unless I go back to 220.3567.

WebServices: Call user.login2 failed in 0 seconds: Invalid API key. Feb 05 10:12:31.220 response: [body=\<?xml version="1.0"?\>  \<methodResponse\>  \<fault\>  \<value\>  \<struct\>  \<member\>  \<name\>faultCode\</name\>  \<value\>\<int\>1\</int\>\</value\>  \</member\>  \<member\>  \<name\>faultString\</name\>  \<value\>\<string\>Invalid API key.\</string\>\</value\>  \</member\>  \</struct\>  \</value\>  \</fault\> \</methodResponse\> , fault[1]='Invalid API key.'] Feb 05 10:12:31.456 ERROR: Cannot Login To Build Server: Could not login. The mostly like cause of this is that the password was incorrect. If you are getting this message during a build you should deauthorize this computer using the Preferences panel and restart the Corona Simulator.

Yes. This is new bug in 220.3570. Sorry, I’ll unpublish that build.

3573 works like a charm. Good job.

I have the same problem:

ERROR: Build Failed: Failed to Build

Error code: 256

Using java version “1.8.0_241”

Java™ SE Runtime Environment (build 1.8.0_241-b07)

Java HotSpot™ 64-Bit Server VM (build 25.241-b07, mixed mode)

A problem occurred configuring root project ‘Corona Android’.

Could not resolve all artifacts for configuration ‘:classpath’.

Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:3.4.0)

Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar’.

I’m using the version: 

Version: 3.0.0

Build: 2020.3573

any position?

I have the same problem:

ERROR: Build Failed: Failed to Build

Error code: 256

Using java version “1.8.0_241”

Java™ SE Runtime Environment (build 1.8.0_241-b07)

Java HotSpot™ 64-Bit Server VM (build 25.241-b07, mixed mode)

A problem occurred configuring root project ‘Corona Android’.

Could not resolve all artifacts for configuration ‘:classpath’.

Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:3.4.0)

Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar’.

I’m using the version: 

Version: 3.0.0

Build: 2020.3573

any position?

FAILURE: Build failed with an exception.

                * What went wrong:
                A problem occurred configuring root project 'Corona Android'.
                > Could not resolve all artifacts for configuration ':classpath'.
                   > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70.
                     Required by:
                         project :
                      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70.
                         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.70/kotlin-gradle-plugin-1.3.70.pom'.
                            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.70/kotlin-gradle-plugin-1.3.70.pom'. Received status code 403 from server: Forbidden
                   > Could not resolve com.android.tools.build:gradle:3.5.4.
                     Required by:
                         project :
                      > Could not resolve com.android.tools.build:gradle:3.5.4.
                         > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.4/gradle-3.5.4.pom'.
                            > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.4/gradle-3.5.4.pom'. Received status code 403 from server: Forbidden
                   > Could not resolve com.beust:klaxon:5.0.1.
                     Required by:
                         project :
                      > Could not resolve com.beust:klaxon:5.0.1.
                         > Could not get resource 'https://jcenter.bintray.com/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom'.
                            > Could not GET 'https://jcenter.bintray.com/com/beust/klaxon/5.0.1/klaxon-5.0.1.pom'. Received status code 403 from server: Forbidden
                
                * Try:
                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.
                
                * Get more help at https://help.gradle.org