Unable to compile - Error 256

Hello there,

I’ve recently posted this to StackOverflow, but I’m wondering if this is a better place to share.  https://stackoverflow.com/questions/46374854/unable-to-compile-android-app-error-256-in-corona

In short, I’m able to compile for iOS but unable to compile to Android for any target (Google Play, Amazon, etc), no matter what key I used (debug, a distritbution key I made, etc).

The error I get is quite generic; Error 256.

I have ensured I have all icons, including the notification icons in the root of my project, but still I’m unable to build. 

I welcome any help.

Thanks

mgriffiths - did you ever solve this?  I am getting the same error and cannot figure it out.  Any guidance much appreciated.

The forums are by far the best place to ask this question.

Can you post your entire console log from your build session?

What version of Corona are you using?

Are you building on a Mac or Windows?

Rob

Hej Rob,

I ran into the same problem. This is my build log: 

ov 04 06:49:22.813 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en Nov 04 06:49:23.312 Testing credentials for '/Users/philip/Dropbox\_ALL/Amazeing/keyStores/thefingermazelite.keystore': Nov 04 06:49:23.348 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en Nov 04 06:49:24.140 jar signed. Nov 04 06:49:24.140 Warning: The signer's certificate is self-signed. Nov 04 06:49:29.009 Using java version "9.0.1" Java(TM) SE Runtime Environment (build 9.0.1+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode) Nov 04 06:49:29.750 Building Android app for mail@philiphartmann.de with 2017.3169 Nov 04 06:49:31.953 Using custom build id from app bundle: 00000 (AppSettings.lua) Nov 04 06:49:33.020 BUILD SUCCESSFUL Total time: 0 seconds Nov 04 06:49:33.020 Nov 04 06:50:34.056 Excluding specified files from build: excluding: Icon.png excluding: Icon-Small-\*.png excluding: Icon\*@2x.png BuildID: 59fe6e303909f Nov 04 06:52:47.496 [exec] Result: 1 Nov 04 06:52:50.726 BUILD FAILED /Applications/Corona-3169/Corona Simulator.app/Contents/Resources/build.xml:479: The following error occurred while executing this line: /Applications/Corona-3169/Corona Simulator.app/Contents/Resources/build.xml:454: jarsigner returned: 1 Total time: 28 seconds Nov 04 06:52:50.971 Android build failed (256) after 198 seconds Nov 04 06:52:51.369 ERROR: Build Failed: Error code: 256 Nov 04 06:52:51.369 

I am building on mac 10.12.6 and JDK 9.0.1 64bit

Own keystore and debugger same results.

Corona Version 3169 and 3155

mgriffiths - did you ever solve this?  I am getting the same error and cannot figure it out.  Any guidance much appreciated.

The forums are by far the best place to ask this question.

Can you post your entire console log from your build session?

What version of Corona are you using?

Are you building on a Mac or Windows?

Rob

Hej Rob,

I ran into the same problem. This is my build log: 

ov 04 06:49:22.813 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en Nov 04 06:49:23.312 Testing credentials for '/Users/philip/Dropbox\_ALL/Amazeing/keyStores/thefingermazelite.keystore': Nov 04 06:49:23.348 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en Nov 04 06:49:24.140 jar signed. Nov 04 06:49:24.140 Warning: The signer's certificate is self-signed. Nov 04 06:49:29.009 Using java version "9.0.1" Java(TM) SE Runtime Environment (build 9.0.1+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode) Nov 04 06:49:29.750 Building Android app for mail@philiphartmann.de with 2017.3169 Nov 04 06:49:31.953 Using custom build id from app bundle: 00000 (AppSettings.lua) Nov 04 06:49:33.020 BUILD SUCCESSFUL Total time: 0 seconds Nov 04 06:49:33.020 Nov 04 06:50:34.056 Excluding specified files from build: excluding: Icon.png excluding: Icon-Small-\*.png excluding: Icon\*@2x.png BuildID: 59fe6e303909f Nov 04 06:52:47.496 [exec] Result: 1 Nov 04 06:52:50.726 BUILD FAILED /Applications/Corona-3169/Corona Simulator.app/Contents/Resources/build.xml:479: The following error occurred while executing this line: /Applications/Corona-3169/Corona Simulator.app/Contents/Resources/build.xml:454: jarsigner returned: 1 Total time: 28 seconds Nov 04 06:52:50.971 Android build failed (256) after 198 seconds Nov 04 06:52:51.369 ERROR: Build Failed: Error code: 256 Nov 04 06:52:51.369 

I am building on mac 10.12.6 and JDK 9.0.1 64bit

Own keystore and debugger same results.

Corona Version 3169 and 3155